Skip to main content
Russ Ortisi
Inspiring
February 20, 2018
Answered

API Manager Won't Save Allowed Origin for CORS

  • February 20, 2018
  • 1 reply
  • 300 views

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.

This topic has been closed for replies.
Correct answer Russ Ortisi

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.

1 reply

Russ Ortisi
Russ OrtisiAuthorCorrect answer
Inspiring
February 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.