You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is the same for req:post_param(name). It returns nil for every name. Although req:json() produces valid json from which it is possible to get parameter.
I'm using req.param() to extract POST request params, but it's not working at all.
Here's what I do:
Then in tarantool I print the request as follows:
Then I get this:
--- '{"text": "Hello **world**!"}': ...
If I try to get the "text" parameter using
req:param("text")
, it returnsnil
The text was updated successfully, but these errors were encountered: