def METHOD_NAME(self, request: SyncHTTPRequestAdapter) -> GraphQLRequestData:
    content_type = request.content_type or ""
    if "application/json" in content_type:
        data = self.parse_json(request.body)
    elif content_type.startswith("multipart/form-data"):
        data = self.parse_multipart(request)
    elif request.method == "GET":
        data = self.parse_query_params(request.query_params)
    else:
        raise HTTPException(400, "Unsupported content type")
    return GraphQLRequestData(
        query=data.get("query"),
        variables=data.get("variables"),  # type: ignore
        operation_name=data.get("operationName"),
    )