diff --git a/packages/bruno-electron/src/ipc/network/index.js b/packages/bruno-electron/src/ipc/network/index.js index 118a64be..6b53baf2 100644 --- a/packages/bruno-electron/src/ipc/network/index.js +++ b/packages/bruno-electron/src/ipc/network/index.js @@ -218,6 +218,7 @@ const configureRequest = async ( const { data: clientCredentialsData, url: clientCredentialsAccessTokenUrl } = await transformClientCredentialsRequest(requestCopy); request.method = 'POST'; + request.headers['content-type'] = 'application/x-www-form-urlencoded'; request.data = clientCredentialsData; request.url = clientCredentialsAccessTokenUrl; break;