Closed Terkwood closed 3 years ago
It currently requires form data like
value=blah
Pass the data in the body of the request instead, as JSON content type
You can keep the form data if you want. Just make sure that JSON content type with data in request body is also supported.
https://stackoverflow.com/questions/41397527/handle-incoming-post-json-with-phoenix
It currently requires form data like
value=blah
Pass the data in the body of the request instead, as JSON content type
You can keep the form data if you want. Just make sure that JSON content type with data in request body is also supported.