* Prepares request for axios call * * @param {object} operation * @param {object} headers * @return {object} graphQLRequest
(operation, headers)
| 120 | * @return {object} graphQLRequest |
| 121 | */ |
| 122 | _prepareGraphQLRequest(operation, headers) { |
| 123 | return { |
| 124 | baseURL: this.options.endpoint, |
| 125 | method: 'POST', |
| 126 | data: operation, |
| 127 | headers, |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * Send query to GraphQL endpoint over http. |
no outgoing calls
no test coverage detected