KhurramAR
4 years agoExperienced User
What's the best way to get a UID of newly created resource via POST
I am wondering what's the best way to get the UID of a newly created Contact or any other resource via POST request. The response does not contain anything. Not even an identifier of the newly create...
- 4 years ago
Hi There,
Thanks for reaching out, If you pass ?returnBody=true in your query the API should return in the body.
The other option like you mentioned - is if the header of the response is for a 200 or 201 you can use the location URL to pull the full endpoint.