You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
outputType is an optional parameter that can be specified when POSTing to /bake. When outputType is set as "file" or 7, the application should return a file.
Describe the solution you'd like
if outputType=file in the request, the application should:
set Content-Disposition to attachment in the response
only return the dish value as the payload, so that if you pipe the response to a file, it should only contain the value.
this behaviour should apply to multipart and body POSTs
For reference (with multipart at least), the response when outputType=7 is:
outputType
is an optional parameter that can be specified when POSTing to/bake
. WhenoutputType
is set as"file"
or7
, the application should return a file.Describe the solution you'd like
if
outputType=file
in the request, the application should:Content-Disposition
toattachment
in the responsethis behaviour should apply to multipart and body POSTs
For reference (with multipart at least), the response when
outputType=7
is:test for outputType = file is:
The text was updated successfully, but these errors were encountered: