How to receive HTTP response from a php script?

Hi.

First - the question: What is CurrentRequest.AddURLPair() ? Is it your method? Is it doing something with http request?

Then - check if CurrentRequest.TheData has the data when you’re passing it to the SetContentAsString.

Also - try to change Content-Type that fits best your needs. Here is a list of possible Content-Types Typ MIME – Wikipedia, wolna encyklopedia (“text/plain” should be fine).

The final thing - check what packages you receive. Use Wireshark to check if there is a payload in response.

Also always check bWasSuccessful first.

The code looks fine to me, maybe there is a problem on the server side?

Oh and one more thing: Make sure that the server is responding using UTF8 and is zero terminated.