The new Balrog UI talks to the backend with requests that submit data in JSON format rather than form encoding. However, our command line tools still use form encoding, which means the backend needs to support both. We should switch the command line tools to JSON and drop support for form encoding. Looking at Requests' API it looks like this may be extremely simple: data – the body to attach to the request. If a dictionary is provided, form-encoding will take place. json – json for the body to attach to the request (if data is not specified). If we s/data/json/ a few places in https://github.com/mozilla/build-tools/blob/master/lib/python/balrog/submitter/api.py it may all just work...need to do some testing though.
Component: Release Automation: Other → Release Automation: Updates
You need to log in before you can comment on or make changes to this bug.