The user should be able to download search results in CSV or JSON format.
Fetch the data on the client side, using the Accept header, and then initiate the file download. This might be the better approach using a new querystring parameter, because this conforms to the expected use of the Accept header.
The user should be able to download search results in CSV or JSON format.
Fetch the data on the client side, using the
Accept
header, and then initiate the file download. This might be the better approach using a new querystring parameter, because this conforms to the expected use of theAccept
header.To Do