WebLauncher / php-framework

WebLauncher Framework
0 stars 0 forks source link

Page: Response type #21

Closed mihaivarga closed 9 years ago

mihaivarga commented 9 years ago

Add ability to request response type:

  1. by adding request var ?response=json
  2. by adding extension on the url /site/home.json

By default response type should be 'html' and act as current way.

The json response should return any messages or errors by default.