REST API CORS block

Options
stefangas
stefangas Member, ALL USERS Posts: 3 Occasional Contributor

Hi

I can successfully connect to Anaplan using Postman. Can do all the necessary calls and get returned data. However, if I try to access the REST API via REACT, Angular or even regular webpage I am always blocked by CORS.

Can anyone offer some advice on this?

Comments

  • stefangas
    stefangas Member, ALL USERS Posts: 3 Occasional Contributor

    Thanks for the feedback Ben. Agree with what you said.

    I am hoping to confirm with someone in the know that the functionality is actually blocked for web access... I did try to implement the REST calls in Ionic but as that also implements a mobile web view I suspect that I am getting the same CORS block.

    Question then is... Has anyone implemented Anaplan REST APIi in a native mobile app?

  • stefangas
    stefangas Member, ALL USERS Posts: 3 Occasional Contributor

    Thanks Nathan.

    That answered it for me.