BrotherEarth
New Member
Hi, it has been a while since I used B4A, and now it seems to be the fastest way to build Proofs of Concept apps super fast and easy!
How can we POST then receive the response payload?
Background: We have many data web and cloud APIs. When we POST a body of JSON data (for a new record in the system), the POST request routinely returns the new record id (like a UUID). It will also return an error and details if the data was wrong or incomplete. We also add headers for APIKEYs and other things.
We can get the PostString to work with the headers, but I don't know how to get the returned UUID/data from the POST request, since I am not using the Download, and the JobDone does not seem to return the data.
We have done much searching on the web, but we cannot find that one piece of code example that does what we need.
Thank you
How can we POST then receive the response payload?
Background: We have many data web and cloud APIs. When we POST a body of JSON data (for a new record in the system), the POST request routinely returns the new record id (like a UUID). It will also return an error and details if the data was wrong or incomplete. We also add headers for APIKEYs and other things.
We can get the PostString to work with the headers, but I don't know how to get the returned UUID/data from the POST request, since I am not using the Download, and the JobDone does not seem to return the data.
We have done much searching on the web, but we cannot find that one piece of code example that does what we need.
Thank you