DEV Community

loading...

Discussion on: Do you prefer GraphQL over REST?

Collapse
madza profile image
Madza Author

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 😉

Collapse
bobbyiliev profile image
Bobby Iliev

Nice! I actually got stuck with the new post creation, did you manage to get it to work?

Thread Thread
madza profile image
Madza Author

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.

Thread Thread
bobbyiliev profile image
Bobby Iliev

Thanks, sounds good! I will try it out! 🙌