How to get response code 200 instead of 204? I hav...
# integrations
m
How to get response code 200 instead of 204? I have created API to post new customer in postman and it return with 204 - no content. Can I change it so the post return with 200 and internalID from the customer that I recently created. Thank you for any help
b
it sounds like you are using rest web services
in which case you cant change the response code
though you can get the internal id from the headers
m
yes I am using Rest web services. How to get the internalID from the headers?
b
what headers are in your response
m
It look like this
b
the location header contains the url path to the record
along with the internal id
m
Like this?
b
yes
m
oke, thank you Mr Battk for your help