How can I resolve the error "Unrecognized type 'FHttpRequestPtr'"?

FHttpRequestPtr is actually TSharedPtr< IHttpRequest > , where TSharedPtr isn’t supposed to be used in U* macro.

Source here.