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

Yes, but I am still getting the same error.
It seems that for some reason the .h file didn’t get parsed, even if I have cleaned the solution.

// LightSender.h
#pragma once

#include "GameFramework/Actor.h"
#include "Http.h"
#include "IHttpRequest.h"
#include "LightSender.generated.h"

/**
 * 
 */
UCLASS()
class ALightSender : public AActor
{
	GENERATED_UCLASS_BODY()

	/** point light component */
	UPROPERTY(VisibleAnywhere, Category = "Switch Components")
	TSubobjectPtr<UPointLightComponent> PointLight1;

	/** sphere component */
	UPROPERTY(VisibleAnywhere, Category = "Switch Components")
		TSubobjectPtr<USphereComponent> Sphere1;

	UFUNCTION()
		void OnResponseReceived(FHttpRequestPtr Request, FHttpResponsePtr Response, bool bWasSuccessful);
	
};