Somnath Swami avatar image
Somnath Swami asked Somnath Swami edited

cors error for local js running app for get account details

Screenshot (68).pngWe are using js app for test API, we are able to login with credentials but for getting the account details method from SDK we get a cors error.Screenshot (66).png

return client . account () . get ();

we are using URL to run the application http://localhost:8080/

on client.account().get() SDK hit API and the URL is and getting cors issue added screenshots for more information

are we able to enable CORS to resolve this issue? please provide us your input.

screenshot-66.png (170.0 KiB)
screenshot-68.png (217.0 KiB)
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

0 Answers

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys