Didn't Get any Response from Http Request

Hey, not sure if you did it for your own Security, or I don’t have function on my end here, but I don’t see implementation of PostRequest method.

Here is the code I used for my game, and it works fine. So check it out, and see if you missed something

	// Create HTTP Request
	TSharedRef<IHttpRequest, ESPMode::ThreadSafe> HttpRequest = FHttpModule::Get().CreateRequest();
	HttpRequest->SetVerb("GET");
	HttpRequest->SetHeader("Content-Type", "application/json");
	HttpRequest->SetURL("https://myWebSite/MyFile.php");

	// Setup Async response
	HttpRequest->OnProcessRequestComplete().BindUObject(this, &MyClass::ServerListPopulateComplete);
	HttpRequest->ProcessRequest();

Also, check these out, maybe you will find some solution

Try to google out unreal engine OnProcessRequestComplete not executed, I found couple of threads.

1 Like