When uploading a package using the deploy API, the package gets a null value as its name. This is not the case when the package is uploaded using the front end upload form in Sprintr.
I'm sending the package as multipart/form-data request having one file attachment, being the mda to upload. This returns a 200 response status and the package id as a json object.
Sending the file as binary data in the post body (curl --data-binary) results in a 200 response code, but no uploaded package.
The deploy API docs doesn't mention any specifics on this call:
Request
Parameters
- AppId (String): Subdomain name of an app.
- Raw body: Deployment package as a file.