android - How to upload apk file to sauce labs and get saucelabs url of temporary storage? -


i new saucelabs.when tried following in cmd prompt upload apk file saucelabs, getting following error.can pls in this?

c:\curl -u gkyrreport:e4fc33sfdsf45--41b2-9eeed6638 -x post –h “content-type:application/octet-stream” “https://saucelabs.com/rest/v1/storage/gkyrreport/mine.apk?overwrite=true” –data-binary @mine.apk

curl: (6) not resolve host: -h; host not found

curl: (6) not resolve host: "content-type:application; host not found

curl: (1) protocol "https not supported or disabled in libcurl

curl: (6) not resolve host: -data-binary; host not found

curl: (6) not resolve host: yourreport.apk; host not found

it looks used en-dash -h option , --data-binary option. when type command, make sure use minus key options. if copy , paste somewhere may have edit line convert en-dash characters minuses. en-dash, curl interprets argument host name rather option.

and note how --data-binary 2 minus characters @ start.

(people commonly call - "dash" i've intentionally said "minus" above avoid confusion en- , em-dashes.)


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -