When making a curl request to POST /v1/assets we should check that we receive a zip file before decompressing it. If you forget the @ before the file path curl sends the path as a string instead of sending the file. Since we don't confirm what we've received before decompressing and saving, the error we get back is not helpful.
When making a curl request to
POST /v1/assets
we should check that we receive a zip file before decompressing it. If you forget the@
before the file path curl sends the path as a string instead of sending the file. Since we don't confirm what we've received before decompressing and saving, the error we get back is not helpful.