搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Using the curl command to not able to download the Addon form the developer Addon site (Production).Curl command gives no response

  • 2 回覆
  • 3 有這個問題
  • 8 次檢視
  • 最近回覆由 alkagautam

more options

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.

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.

所有回覆 (2)

more options

Refresh your browser and try again

more options

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