xml - Example of a good Webservice -
I have been tasked with designing a new API for our infrastructure. Some things that I want to do:
- Apply oauth for authentication
- Good xml-based structure, optimization ATOM, Geo-RSS and other XML schema standards where applicable Ho.
- JSON output
Some of the things I was thinking about, implementing the rest. In practice, I think it is not easy to understand this as another 'method, reason, result' -PP model. Especially because there is no CRUD model, but nearly 250 different operations do not matter to me very much.
Some things that I am thinking of is that I should make a good mapping between JSON-format and namespaced XML format. If it does not work smoothly, then I will manually map all the data-types.
So basically, I'm thinking what you think, and if you have some examples of APIs that were complex, but easy to use.
If you were thinking, SOAP is out of the question.
There is an excellent (new) in the British newspaper. It's huge, it has several client libraries, and it's great at - which works as a partition pane in your browser with a vibrant console to play with the API.
Comments
Post a Comment