Closed wangyangkobe closed 7 years ago
Elli supports any content type and just gives you the body as a big binary.
If you want it to automatically be decoded, you can use a middleware to do it for you. There's one already for encoding the response (https://github.com/sthadka/elli_json) Maybe you can enhance it with a preprocess
pass.
Hi, For Post method, the payload is json format, just like:
So does elli support content-type is "application/json" for POST method?