Git Product home page Git Product logo

Comments (3)

kevinjalbert avatar kevinjalbert commented on May 30, 2024 1

@Klaudioz Ah yep this is likely because I've changed the API since I started. So the blog post and README are slightly out of date (I've been meaning to get around to updated them -- but I just haven't made it a priority).

471d6c1#diff-da3fed2ed312ed177133617b30862a7d

In the above commit, I changed the API endpoints for add_note and add_task to be POST instead of GET. So you'll have to make POST requests instead.

At the same time there is now authentication present that must be used with the requests (either via the HEADER or api_token attribute in the request body), for added security.

I recommend using curl or something like Postman to make those POST requests as you cannot do it via the browser's URL bar anymore.


I've closed the issue, but continue in the thread if there is additional questions related to this.

from notion-heroku.

kevinjalbert avatar kevinjalbert commented on May 30, 2024 1

For reference the way mine looks is like:

from notion-heroku.

Klaudioz avatar Klaudioz commented on May 30, 2024

Thanks for your answer. Using POST I got always error 500:

2019-12-10T03:51:46.314581+00:00 heroku[router]: at=info method=POST path="/add_note?title=%20this%20is%20working%20finally" host=notionga.herokuapp.com request_id=8256db3c-962b-4b9d-ac43-d3baf11cf8e5 fwd="34.239.101.36" dyno=web.1 connect=0ms service=43ms status=500 bytes=200 protocol=https

Why I did with IFTTT:

image

from notion-heroku.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.