HTTP

You make requests using HTTP GET and POST.
  • Use HTTP GET to debug issues using a browser address bar.
  • Use HTTP POST for application runtime.

The servlet name is na. URLs will follow the form:

http://www.example.com/na

When using HTTP GET, you encode JSON into the URL using the query parameter json. For example

http://www.example.com/na?json={}

When using HTTP POST, the body of the HTTP message is the JSON message. The ContentType for the JSON messages should be text/plain so that when you are debugging, the browser will not try to use an external process for viewing the json content.