I often hear or read the term REST API Server .
I am a code with PHP, and I made an API for my projects in the past that could return data in XML and JSON formats, and they were in REST form, where you would do something like
server.com/comments/123 To return / view comment using ID 123
server.com/comments/post to leave a comment
server.com/comments/123/edit to edit comment with ID 123
server.com/comments/123/delete to delete comment with code 123
Now I would not consider this a REST server, but I think it is a REST?
Can someone clarify or explain if I am wrong? I mean, is there more for a REST server, and is it just a term used or is a REST server completely different from the function described above?
I will soon have a project that will require a RESTful API, so I would like to make sure that I am doing this correctly.
source share