15. Using Web ServicesΒΆ
Once it became easy to retrieve documents and parse documents over HTTP using programs, it did not take long to develop an approach where we started producing documents that were specifically designed to be consumed by other programs (i.e., not HTML to be displayed in a browser).
There are two common formats that we use when exchanging data across the web. eXtensible Markup Language (XML) has been in use for a very long time and is best suited for exchanging document-style data. When programs just want to exchange dictionaries, lists, or other internal information with each other, they use JavaScript Object Notation (JSON) (see www.json.org). We will look at both formats.
- 15.1. eXtensible Markup Language - XML
- 15.2. Parsing XML
- 15.3. Looping through nodes
- 15.4. JavaScript Object Notation - JSON
- 15.5. What is JSON?
- 15.6. Application Programming Interfaces
- 15.7. Security and API usage
- 15.8. Glossary
- 15.9. Multiple Choice Questions
- 15.10. Mixed-Up Code Questions
- 15.11. Write Code Questions
- 15.12. Application 1: Google geocoding web service
- 15.13. Application 2: Twitter
You have attempted of activities on this page