httpMethod

open override fun httpMethod(httpMethod: HttpMethod?): ApolloRequest.Builder<D>

Configures whether the request should use GET or POST Usually, POST request can transfer bigger GraphQL documents but are more difficult to cache

Default: HttpMethod.Post


@set:ApolloDeprecatedSince(version = ApolloDeprecatedSince.Version.v3_8_3)
open override var httpMethod: HttpMethod?

The HTTP method to use for the request

Used by com.apollographql.apollo3.api.http.DefaultHttpRequestComposer