@microsoft.azure/autorest.testserver
Version:
This project contains a set of OpenAPI definitions and a server implementing the corresponding API. Use this to test compliance of AutoRest generators.
27 lines • 806 B
JSON
{
"id" : "a9f33f7c-43ad-4901-b55f-a4eac38fe231",
"name" : "formdata_stream_uploadfile",
"request" : {
"url" : "/formdata/stream/uploadfile",
"method" : "PUT",
"bodyPatterns" : [ {
"binaryEqualTo" : "VGVzdCBmaWxl"
} ]
},
"response" : {
"status" : 200,
"body" : "Test file",
"headers" : {
"X-Powered-By" : "Express",
"Vary" : "Origin",
"Access-Control-Allow-Credentials" : "true",
"Access-Control-Expose-Headers" : "x-ms-request-id,foo-request-id,Content-Type,value,Location,Azure-AsyncOperation,Retry-After",
"Content-Type" : "text/plain",
"Date" : "Thu, 18 Oct 2018 17:39:28 GMT",
"Connection" : "keep-alive"
}
},
"uuid" : "a9f33f7c-43ad-4901-b55f-a4eac38fe231",
"persistent" : true,
"insertionIndex" : 297
}