Package org.bhn.promotion.core.proxy
Class NewUserGraphQLProxy
java.lang.Object
org.bhn.promotion.core.proxy.NewUserGraphQLProxy
Service for making GraphQL requests to fetch new user data.
It sends requests with the email, tenant ID, and authentication token.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncallGraphQL(String email, String tenantId) Makes a GraphQL POST request to fetch user data.
-
Constructor Details
-
NewUserGraphQLProxy
public NewUserGraphQLProxy()
-
-
Method Details
-
callGraphQL
Makes a GraphQL POST request to fetch user data.- Parameters:
email- the user's email for the query.tenantId- the tenant ID for the request header.- Returns:
- the
GraphQLResponsefrom the GraphQL service.
-