I’m trying to automatically upload an APK to the Experitest Server, as described in “Upload your Application to Your Project using cURL”, using the following shell script:
curl \
--location \
--request POST 'http://…:8080/api/v1/applications/new' \
--header 'Cache-Control: no-cache' \
--header 'Content-Type: multipart/form-data' \
--header 'Authorization: Basic …' \
--form 'file=@….apk' \
--form 'project=Default'
And I’m getting the following error message:
{
"timestamp":"2020-01-31T12:30:28.764Z",
"status":401,
"error":"Unauthorized",
"message":"Bad credentials",
"path":"/api/v1/applications/new"
}
I’m pretty sure I got the correct proper authentication string as both Postman and the Obtaining Access Key function give me the same string.
Are there any caveats to know when it comes to uploading APK files?