Commit d2897764 authored by Jacek Furmankiewicz's avatar Jacek Furmankiewicz

docs

parent 17e5919a
...@@ -162,12 +162,13 @@ CorePost integrates support for JSON, YAML and XML (partially) based on request ...@@ -162,12 +162,13 @@ CorePost integrates support for JSON, YAML and XML (partially) based on request
*Parsing of incoming content* *Parsing of incoming content*
Based on the incoming content type in POST/PUT requests, Based on the incoming content type in POST/PUT requests,
the body will be automatically parsed to JSON, YAML and XML (ElementTree) and attached to the request: the body will be automatically parsed to JSON, YAML and XML (ElementTree)
* request.json * request.json
* request.yaml * request.yaml
* request.xml * request.xml
and attached to the request:
@route("/post/json",(Http.POST,Http.PUT)) @route("/post/json",(Http.POST,Http.PUT))
def test_json(self,request,**kwargs): def test_json(self,request,**kwargs):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment