POST method not sending body argument to API
See original GitHub issuehttps://github.com/Pinesy/radical/commit/d014e4193b6d6a296a2fd593176340c67a9d11c7 is the commit where I implemented the “create and delete” product methods - the delete works fine (being passed up just an id), but for the create, i’m passing along an argument object that contains (what I believe to be) correct data. The onSuccess
and onError
methods work correctly.
This is the action:
Would appreciate any guidance =)
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
POSTMAN not sending anything in the body in POST ...
The weird part is, that the data I am sending, are nowhere to be found in the request object at all :( EDIT:...
Read more >Add a Request Body to a POST Request | API Connector
If your POST request isn't working, a likely cause is a mismatched content type. Try adding in a content type into the header...
Read more >Passing parameters in the body of a HTTP POST request
The parameters are being sent as Text in the body of the request which is set as Multipart Form Data. The request completes...
Read more >What is HTTP POST Request Method?
POST is an HTTP method designed to send data to the server from an HTTP client. The HTTP POST method requests the web...
Read more >POST Not working for REST API - Method not found Error
To send a request body instead of form variables, leave pFormVarNames empty and pass the body text as the pData argument. So, can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Problem fixed! For some reason, with our setup we didn’t need to
JSON.stringify
the requestbody
, but it is needed in other cases (including yours). You can update to 2.3.4 😃No problem, thanks a lot for reporting the issue!