Skip to content
This repository was archived by the owner on Apr 14, 2023. It is now read-only.

Commit e981ce5

Browse files
authored
Merge pull request #1307 from apollographql/jeffrey/add-request-body-api
Update docs with new request body in preflight scripts
2 parents c3ea8eb + 95fda54 commit e981ce5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

studio-docs/source/explorer/connecting-authenticating.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,21 @@ Function that prompts the user for input and returns the value in a promise. If
167167
</td>
168168
</tr>
169169

170+
<tr>
171+
<td>
172+
173+
##### `explorer.request.body`
174+
175+
`
176+
{ query: string; variables: { [key in string]?: JSONValue } | null; operationName: string | undefined; }
177+
`
178+
</td>
179+
<td>
180+
181+
The body of the `POST` request that's sent to the configured GraphQL endpoint for the current operation.
182+
</td>
183+
</tr>
184+
170185
</tbody>
171186
</table>
172187

0 commit comments

Comments
 (0)