I am trying to use the HttpClientRequest object to request something to an API. When I use the POST method to create elements in the API, it works fine, but when I have to delete something I need to use the DELETE method. The request parameters are exactly the same, just change the POST method for a DELETE method, and in the delete request, I get an error. Checking the Rest server logs, I have found that, in the body of the request, as the first character, there is an EOF character.
For some reason, AC has added that character there. These API calls are working fine from other environments (E.g.: using postman).
Does someone know why this is happening? Or does someone know a workaround for this?
Solved! Go to Solution.