Features
#35 Support application/json POST request
- Support Content-Type: application/json request.
- Be able to get this data from POST_DATA of builtin variables.
- FORM_DATA is deprecated, will be removed at 0.3.0 over. Please use POST_DATA.
- POST_DATA supports application/json, pplication/x-www-form-urlencoded, multipart/form-data.
#36 Support JSONP
[project.yaml]
ajax:
root: ./ajax
jsonp_callback_name: callback
[Request]
http://localhost:3183/test?callback=callbackFunc
[Response]
callbackFunc({"param":"value"})