Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you give an example of a nice REST API? I might have to create one soon and I need some inspiration.

Thanks!



Maybe AtomPub? It respects HTTP methods, uses URIs to represent resources correctly, uses <links> to be discoverable (hypermedia), is self-descriptive, is stateful... It uses Atom/XML instead of JSON, but still...

(but please correct me if it isn't a good example)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: