Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 4.72 KB

ResponseOriginalRequest1.md

File metadata and controls

51 lines (36 loc) · 4.72 KB

ResponseOriginalRequest1

Information about the collection request.

Properties

Name Type Required Description
url Url ❌ Information about the URL.
auth CreateCollectionSchemaAuth ❌ The authorization type supported by Postman.
method string ❌ The request's standard HTTP method.
description string ❌ The request's description.
header ResponseHeader2_1[] ❌ A list of headers.
body CollectionRequestBody1 ❌ Information about the collection's request body. To set this to "none", pass an empty object.

CollectionRequestBody1

Information about the collection's request body. To set this to "none", pass an empty object.

Properties

Name Type Required Description
mode any ❌ The data associated with the request.
raw string ❌ If the mode value is raw, the raw content of the request body.
urlencoded CollectionRequestBodyUrlencoded1[] ❌ A list of x-www-form-encoded key/value pairs.
formdata CollectionRequestBodyFormdata3[] ❌ If the mode value is formdata, then a list of form-data key/pair values.
file CollectionRequestBodyFile1 ❌ If the mode value is file, an object containing the file request information.
graphql CollectionRequestBodyGraphql1 ❌ If the mode value is graphql, an object containing the GraphQL request information.
options any ❌ Additional configurations and options set for various modes.

CollectionRequestBodyFile1

If the mode value is file, an object containing the file request information.

Properties

Name Type Required Description
src string ❌ The name of the file to upload (not its path). A null value indicates that no file is selected as a part of the request body.

CollectionRequestBodyGraphql1

If the mode value is graphql, an object containing the GraphQL request information.

Properties

Name Type Required Description
query string ❌ The GraphQL query.
variables string ❌ The GraphQL query variables, in JSON format.