For example instead of using a static string as the value for some header, you can use operator Using file contents as values for specific fields is a very common use case, which can be achieved through adding the suffix to Raw request body is a mechanism for passing arbitrary request data. Note that the structured data fields aren’t the only way to specify request data: For example or With -form, the presence of a file field results in a -multipart request Useful when sending JSON and one or more fields need to be a Boolean, Number, nested Object, or an Array, e.g., meals:='' or pies:= (note the quotes)įile upload fields available with -form, -f and -multipart. Request data fields to be serialized as a JSON object (default), to be form-encoded (with -form, -f), or to be serialized as multipart/form-data (with -multipart) X-API-Token:123Īppends the given name/value pair as a querystring parameter to the URL.
0 Comments
Leave a Reply. |