# Didn't Get any Response from Http Request

**URL:** <https://forums.unrealengine.com/t/didnt-get-any-response-from-http-request/688593>\
**Category:** C++\
**Tags:** unreal-engine, UE5-0, CPP, question\
**Created:** [November 11, 2022, 9:23am UTC](https://forums.unrealengine.com/t/didnt-get-any-response-from-http-request/688593 "2022-11-11T09:23:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Bojann](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bojann/32/906560_2.png) [@Bojann](https://forums.unrealengine.com/u/Bojann)\
**Post date:** [November 11, 2022, 9:36am UTC](https://forums.unrealengine.com/t/didnt-get-any-response-from-http-request/688593/2 "2022-11-11T09:36:22Z")

</div>

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

```auto
	// 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

> [@HTML5 HTTPRequest: OnProcessRequestComplete not called](https://forums.unrealengine.com/t/html5-httprequest-onprocessrequestcomplete-not-called/314171):
>
> I have run into some trouble with the HttpRequest-\>OnProcessRequestComplete function when I test my project in HTML5. The PostRequest function works just fine (because the data is logged in the database table) but the RequestComplete function doesn’t seem to fire. Everything works fine in the dekstop builds. (UE 4.7.4 - binary, emscripten 1.29.0) Could this be a bug or am I missing something? PostRequest Functionality void UConnection::PostRequest(UObject\* WorldContextObject) { TSharedRef\<I…

> [@HTTP request don't run on HTML5 package](https://forums.unrealengine.com/t/http-request-dont-run-on-html5-package/318689/8):
>
> Hey !! Excuse me, I didn’t know which console you were referred. Ok: When I execute the game on HTML the 's console shows: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://192.168.1.16:3334/query\_obra.php?id=1. (Reason: CORS header 'Access-Control-Allow-Origin' missing).1 \<unknown\> Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://192.168.1.16:3334/query\_obra.php?id=1. (Reason: C…

> [@No response (fail or success) on HTTP calls](https://forums.unrealengine.com/t/no-response-fail-or-success-on-http-calls/489259):
>
> We’ve used HTTP requests to a REST API since UE 4.24 without issues. Recently we’ve started getting problems with requests not completing - neither with fail nor success nor timeout. I’ve used Request-\>OnProcessRequestComplete() to bind to lambda or UObject, which has always triggered the function to be called in some way (whether it’s with success or failure). Now nothing happens, and I can’t see any incoming traffic on the server either. I’ve tried to bind to the progress callback too without …

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

---

_[View the full topic](https://forums.unrealengine.com/t/didnt-get-any-response-from-http-request/688593)._
