locked
CORS POLICY RRS feed

  • Question

  • I am trying to implement CORS policy in one of my Api management API's

    Had given "*" for allowed origin, headers,methods in cors
    the first time it dint worked
    I tried to get origin cache key and removed that cache and after that the cors policy is working fine on that particular day
    but when I tried today without any change in policy the same policy is not working and its throwing cors error again though cors policy is implemented

    Friday, January 13, 2017 8:50 AM

Answers

  • Hello Logeswaran D,

    Thank you for contacting Microsoft forums. We are pleased to answer your query.

    Just for clarification would like to know which Azure Service you are using?

    As the Error message, you are getting is not clear please share the screen shot of the error so that we can assist you more on your query.

    I hope that the reply will assist you in getting your query addressed. In case you require further assistance, please do reply to the thread as we are always available to your queries.

    Regards,

    Sheethal J S

    _______________________________________________________________________________

    If a post answers your question, please click Mark as Answer on that post and Vote as Helpful.

    Saturday, January 14, 2017 4:39 AM

All replies

  • Hello Logeswaran D,

    Thank you for contacting Microsoft forums. We are pleased to answer your query.

    Just for clarification would like to know which Azure Service you are using?

    As the Error message, you are getting is not clear please share the screen shot of the error so that we can assist you more on your query.

    I hope that the reply will assist you in getting your query addressed. In case you require further assistance, please do reply to the thread as we are always available to your queries.

    Regards,

    Sheethal J S

    _______________________________________________________________________________

    If a post answers your question, please click Mark as Answer on that post and Vote as Helpful.

    Saturday, January 14, 2017 4:39 AM
  • Hi i have same issue

    I tested in developer portal 

    "Origin header was missing or empty and the request was classified as not cross-domain. CORS policy was not applied."

    My policy  at Operation level Ex:GetCity

    <inbound>
    <cors>
    <allowed-origins>
    <origin>*</origin>
    </allowed-origins>
    </cors>
    <base />

    </inbound>

    Price tier:Developer

    Thanks

    Wednesday, May 16, 2018 2:39 PM
  • Hi @sheethal, 

    Do you have the answer to the question as I am facing similar <g class="gr_ gr_76 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation multiReplace" data-gr-id="76" id="76">issues.</g>

    • Edited by Kian, Ting Monday, November 26, 2018 12:53 AM
    Monday, November 26, 2018 12:51 AM