Replies: 2 comments
-
|
Please show the code. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Ok, found the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
I have noticed when I am sending a POST request with payload (JSON), read_body/1 does not return the JSON string the client has sent via a jQuery ajax POST request.
However read_urlencoded_body/1 is able to read the payload and returns a single tuple list containing the escaped JSON string and the boolean 'true'.
Is this the expected behavior? Shouldn't read_body return the JSON string instead? Maybe I am missing a client side request parameter?
Beta Was this translation helpful? Give feedback.
All reactions