Relative Content

Tag Archive for node.jsfetchfirefox-addon

How to upload Firefox addon file using Node.JS 16 fetch?

I am trying to follow https://blog.mozilla.org/addons/2022/03/17/new-api-for-submitting-and-updating-add-ons/ to upload an addon file. It works fine with cURL but I really want to use Node.js (stuck on 16 at the moment) since I have to build a JWT. I am using the --experimental-fetch flag with node and am trying to avoid adding any more dependencies.