SMS Gateway in Blazor Webassembly

112 views Asked by At

This is code i am using to implement Plivo SMS gateway in blazor application , working on .net 7 and visual studio version is 2022 community version enter image description here

this is the issue i have been facing in console enter image description here

kindly give suggestions to implement integrate SMS in Blazor Web and .net Maui Blazor applications

1

There are 1 answers

2
Ross On

After adding Microsoft.AspNetCore.Components.WebAssembly library, try setting SetBrowserRequestMode to no-cors.

request.SetBrowserRequestMode(BrowserRequestMode.NoCors);