Back to the module list

Output choosed by REST (REpresentational State Transfer)

The REST (REpresentational State Transfer) allow to return the display result to the user browser be choosing the best format. The user provide the format he would like and the REST module answer by translating in this format, if it is allowed.

The actual allowed formats are "json", "xml", "txt", "csv".

Use the browser parameter HTTP_ACCEPT to choose the format.