Since it's making a JSON POST request, it needs to set `Content-Type` to `application/json` Using ugly hacks on the server sides that could interfere with file uploads