-3

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

neha
  • 65
  • 8

1 Answers1

0

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

request.SetBrowserRequestMode(BrowserRequestMode.NoCors);
Ross
  • 2,123
  • 1
  • 18
  • 18