Using the curl command to not able to download the Addon form the developer Addon site (Production).Curl command gives no response
Following the below link I was able to upload and get the details of the Addon that I added to the Account (Production account). http://olympia.readthedocs.io/en/latest/topics/api/index.html
When I use the download curl command to get the Unlisted Addon I don't get back any response. I picked the download Url from the Get command described in the response of the Get command.
url 'https://addons.mozilla.org/api/v3/file/474705/send_to_tv-0.1.2-fx.api?src=api' -g -H 'Authorization: JWT ....'
even tried the below but no response
url https://addons.mozilla.org/api/v3/file/474705/send_to_tv-0.1.2-fx.api?src=api -g -H 'Authorization: JWT ....'
Can you please look into it.
All Replies (2)
Refresh your browser and try again
thanks ... i did several times before
and i get the following error {"detail":"Authentication credentials were not provided."}
not sure if the URL i am using is right ....
Tried following URLS and got he same response
https://addons.mozilla.org/api/v3/file/474705/send_to_tv-0.1.2-fx.xpi?src=api -g -H 'Authorization: JWT eyJhbGciOiJIUzI1NiIsInR5cCI6I.................'
https://addons.mozilla.org/api/v3/file/474705/send_to_tv-0.1.2-fx.xpi?src=api&Authorization ='..............'
https://addons.mozilla.org/api/v3/file/474705/send_to_tv-0.1.2-fx.xpi?src=api&JWT ='..............'
can u give me the right URL