web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

(1) ShareShare
ReportReport
Posted on by 5

pastedimage1657032087722v1.png

Hello, I try to use javascript native to get an API response from societe.com but I should to use and activate the extension name's Moesif Cors to get Data. That is not good and proper for the client. I tried to add header to my function, with no-succes to get the result.  Could you help me? Here below my javascript code, I put just the function of the API:

function searchSocieteByName(name) {
        return fetch(
          `api.societe.com/.../search${name}&token=${SOCIETE_API_TOKEN}&format=json`
        )
          .then((response) => response.json())
          .then((response) => response.result);
      }
      then(function (responses) {
        console.log(responses);
      });

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 162 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 134

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 55 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans