REST API downfalls, and dawn of GraphQL
Otto von Wachter
2466

Hello Otto,

I just wondering, what if i design my API still in REST but all the specs are written inside the json payload? isn’t it the same?

To make it simple lets say i have http://dummy.com/api/
but all the content that i ask i put it as JSON payload. lets say {ask:[post1,post2]}

then if i need image it will be

{ask:[image100, {image234:{format:png, version:HD}}]}

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.