REST is everywhere so I'm quite used to it. A few days ago I tried playing around with HashNode's GraphQL API and to be honest I struggled. To me, it looks like that the learning curve for GraphQL is much steeper, so I'm still a fan of good old REST!
I was working with their API the other way around - for fetching data. But for posting, I believe you have to make a mutation, as shown in this example to create a new story.
For further assistance, I would recommend their Discord server. Together we already found a bug in their API by discussing particular ways of retrieving data.
REST is everywhere so I'm quite used to it. A few days ago I tried playing around with HashNode's GraphQL API and to be honest I struggled. To me, it looks like that the learning curve for GraphQL is much steeper, so I'm still a fan of good old REST!
Hashnode's API was my first contact with it too 😃 I must say I love it and it reminds me of working with DOM in the browser 😉
Nice! I actually got stuck with the new post creation, did you manage to get it to work?
I was working with their API the other way around - for fetching data. But for posting, I believe you have to make a mutation, as shown in this example to create a new story.
For further assistance, I would recommend their Discord server. Together we already found a bug in their API by discussing particular ways of retrieving data.
Thanks, sounds good! I will try it out! 🙌