You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ GET /blogs.json [ {"id" : 1, "title" : "first post", "body" : "This is the first post"}, ... ] $ PUT /blogs/2.json '{"id" : 2, "title" : "updated post", "body" : "This is the new."}' {"id" : 2, "title" : "updated post", "body" : "This is the new."} $ DELETE /blogs/2 $ POST /blogs.json '{"title" : "new post", "body" : "This is the new new."}' {"id" : 204, "title" : "new post", "body" : "This is the new new."}
The text was updated successfully, but these errors were encountered:
Do this after cgi-bin is working and mdsh can build pages with some kind of bash-cgi stuff: #34
See: https://github.com/micha/resty
Source the script before using it.
$ . resty
Once resty is installed, set your REST host to which you will be making your requests.
And now you can Make some HTTP requests.
The text was updated successfully, but these errors were encountered: