1

What is a RESTful API? I didn't come from the web world, and to me every HTTP response with some json as content is RESTful, is that the idea?

Comments
  • 0
    I think so but I'm not from the web world that's just my experience with using rest apis it might have something to do with the backend but I'm not sure lol
  • 2
    Basically, you represent application resources as urls and map the http methods to actions you can perform on these resources. Not every server which responds with json is conforming to the REST architecture's principles.
  • 1
    @kpenc Next to that you don't really have sessions as in php logged in sessions for example.

    Through every request you have to send the proper authentication data, it's stateless.
Add Comment