Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

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

  • 2 回覆
  • 3 有這個問題
  • 7 次檢視
  • 最近回覆由 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