nedd help with fetch OAuth 2.0 not work

return fetch(“Url”, {
“method”: “POST”,
//“mode”: ‘no-cors’,
“headers”: {
“Content-Type”: “content-type: application/json”,
‘cache-control’: ‘no-cache’,
Connection: ‘keep-alive’,
},
“Auth”: {
“Username”: “UserName”,
“Password”: “Password”
},
“Body”:
JSON.stringify({“Data”: {
“IgnorePossibleSendingTime”: “false”,
“Language”: “he-female”,
“CallerId”: “private”,
“List”: [
{
“TextToSpeech”: “hi”,
“Phone”: “Phone”,
“CustomerMessageID”: “STRING
}
]
}})

Which API/service are you working with?

Here’s an example that demonstrates how to use OAuth 2.0:

Save Data to a Google Sheet Using NPM
Use the Google APIs Node.js Client package included in the Wix Package Manager to access a Google Sheet .

Sms company . they send sms to customer

I try to do this with sms company.
when I do it with postman is work. But at wix backend is don’t

@eranlips You will need to contact the SMS Service provider for assistance.

Hey Eran!

Could you share a little bit more information about what you’ve tried to do on the Wix platform?
Please provide as much data from the following as possible:
***** Request data
***** Response data (status, errors, etc.)
***** URL of your site (and specify where this method is being used)
***** Relevant flow (in order to recreate and test the issue)

Besides that,
Have you tried connecting stackDriver in order to monitor your logs and requests?
(sometimes it helps to realize that there’s an issue with the code/request)
Have you tried the example that Yisrael shared?

Doron.

P.s.
For future cases please note our Community Forum Guidelines and post accordingly.