Comments (3)
@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.
For reference the way mine looks is like:
from notion-heroku.
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:
from notion-heroku.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notion-heroku.