In T401673 there's an ask if we could make the API calls to follow redirects. I digged into the current code and there's kind of a bug there right now. We don't specify that we will follow or not follow redirects, so by default we will follow redirect. However when fetch gets a redirect for a POST, it will switch to GET and drop the body (=our call will fail). See https://fetch.spec.whatwg.org/#http-redirect-fetch
AC:
- Make sure our code do not try to follow redirects because redirects do not work for us