fix: setting Content-Type to application/json was causing 400:Bad Request errors as the form data was not getting passed in