Google API
Google API
Generally, these services return data in the HTTP request as either JSON or XML for parsing and/or processing by your application.
http://maps.googleapis.com/maps/api/service/output?parameters
https://maps.googleapis.com/maps/api/service/output?parameters
Set Alphanumeric
URL usage Text strings, scheme usage (http), port (8080), etc. Text strings Control characters and/or Text Strings
Unreserved Reserved
All characters to be URL-encoded are encoded using a '%' character and a two-character hex value corresponding to their UTF-8 character. For example, +in UTF-8 would be URLencoded as %E4%B8%8A%E6%B5%B7%2B%E4%B8%AD%E5%9C%8B. The string ? and the Mysterians would be URL-encoded as%3F+and+the+Mysterians.
Converting a URL that you receive from user input is sometimes tricky. For example, a user may enter an address as "5th&Main St." Generally, you should construct your URL from its parts, treating any user input as literal characters. Additionally, URLs are limited to 2048 characters for all web services. For most services, this character limit will seldom be approached. However, note that certain services have several parameters that may result in long URLs.
Service and their operations: 1.Introduction 2.Audience 3.Direction Request 4.Request Parameters(by default parameters if applicable)HTTP.Brief on each parameter 5.Response with nodes and elements hierarchy .HTTP, xml/Json 6.Status Codes