http - RESTful URLs and folders -


on:

received / people / 1
returns First record in HTML format

GET /people/1.html
First record back in HTML format

and / people

If you specify only the URL path extension, then this plan is the recommended behavior for content conversations:

  • Path is a normal URL without an extension (for example / people for any accepted format)
  • Path is a specific URL (such as / people Json ) for a JSON data format As a type-specific url)

The server can use content talks with such a scheme when a common URL is requested when a specific URL is requested If it goes then specific representation.

  • Ul>

    Comments