API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#API Connect
#Applicationintegration
#APIConnect
 View Only
Expand all | Collapse all

Is there any way we can fetch list of CORS enabled API's from API Management.

  • 1.  Is there any way we can fetch list of CORS enabled API's from API Management.

    Posted Thu June 24, 2021 12:58 PM
    We have approx 400 apis in UAT. Is there any way we can fetch LIST of CORS enabled APIs only

    ------------------------------
    Vijay Lathwal
    ------------------------------


  • 2.  RE: Is there any way we can fetch list of CORS enabled API's from API Management.

    Posted Thu June 24, 2021 04:22 PM
    You can use apic tool to list all the products, like:

    apic products:list-all

    and later pull all the products (<apis>.yaml will come together).

    All the yamls in the same folder, you can simple grep for CORS inside the yaml files

    Hope it helps!



    ------------------------------
    Leandro Takeda
    ------------------------------