Service Virtualization

  • 1.  Enable CORS for Dashboard APIs

    Posted Apr 21, 2019 12:21 PM

    Hi,

    I am trying create a dashboard on a 3rd party tool and want to show dashboard metrics on it.

    Approach i am following is 

    1. login api call

    2. metrics api call

     

    however when i do login api call,  I am getting 

    1. Request URL:
    2. Request Method:
      OPTIONS
    3. Status Code:
      405 Method Not Allowed

    is there a way to enable this?



  • 2.  Re: Enable CORS for Dashboard APIs

    Broadcom Employee
    Posted Apr 22, 2019 09:21 AM

    OPTIONS method has been blocked as exposing it makes the product vulnerable.

     

    For your login invocation, you should use POST. Please try.