• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

API Manager Won't Save Allowed Origin for CORS

Explorer ,
Feb 20, 2018 Feb 20, 2018

Copy link to clipboard

Copied

This is under Security/CORS. I have an API that I had originally set the Allowed Origin at * while I was testing. This worked fine. Then, I decided I wanted to test limiting this to specific domains. However, for some reason, it wouldn't save the value I had entered. This is the format I entered it in: http://www.example.com

And now, when I try to change it back to * it won't save, and I'm getting CORS errors when I call it.

 

UPDATE: I also tried restarting the API Manager service and this didn't make any difference.

Views

243

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Feb 20, 2018 Feb 20, 2018

Because this field takes a list, you have to hit the enter key after typing in the value you want, and then you can save. I figured it out by accident.

Votes

Translate

Translate
Explorer ,
Feb 20, 2018 Feb 20, 2018

Copy link to clipboard

Copied

LATEST

Because this field takes a list, you have to hit the enter key after typing in the value you want, and then you can save. I figured it out by accident.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation