Multipart Form Data
Use the>>>multipart block to send multipart/form-data requests. This is the standard format for file uploads and mixed form submissions.
Content-Type: multipart/form-data header is set automatically. Do not set it manually.
Field Syntax
Each line in a>>>multipart block is either a field or a file:
Multiple Fields and Files
You can include any combination of fields and files:Variable Interpolation
Variables are resolved in both field values and file paths:File paths in
file @ directives are relative to the .http file location.GraphQL
Use the>>>graphql block to write GraphQL queries and mutations. Optionally add a >>>variables block for query variables.
Basic Query
Query with Variables
Use the>>>variables block to pass variables to your GraphQL query:
Mutations
Variables with Interpolation
hitspec variables work inside the>>>variables block: