You can also use PostMan to request for pretty response print out:
Create Request (POST)
You can submit your POST request either in HTTP Form format or JSON format.
To send request in Form format you need to add 'Content-Type:application/x-www-form-urlencoded' in your HTTP Header.
To send request in JSON format you need to add 'Content-Type:application/json' in your HTTP Header.
Form format:
JSON Format
Please note the in the above example we used an existed username so the server prompted error message, this is to demonstrate how server would response errors:
A 500 HTTP status code would be returned
Server will return "success":false in the returned JSON