now i start to design a api.
the url like this
the visitor need a seckey to access auth.and get info via json.
so i dont think thats a good api.
i need your answers.thx
You should checkout Edge Rails. edgeguides.rubyonrails.org/
api_app.html has some interesting information.
I have 2 boards on Quora that contain some useful links:
You might also want to consider looking into this interactive book project: http://designinghypermediaapis.com
and take a look at github’s API design here:
also, read this: http://blog.steveklabnik.com/posts/2011-07-03-nobody-understands-rest-or-http and part II of it
and don’t forget to use patch instead of put when applicable
muchas gracias all.
i was considering that maybe i could use HMAC way to implement this.is it a good way.