Remove security only for some requests wso2 api manager
Asked Answered
M

1

5

Is it possible to remove security for some specific requests in my api list using WSO2 API manager version 3.

For example, I have following requests

/customer - post
/products - get
/customer/address - get

In my case I don't need security for /products - get.

Update

I tried the suggestion @Pubci getting request response

Invalid Credentials. Make sure your API invocation call has a header: 'Authorization : Bearer ACCESS_TOKEN' or 'Authorization : Basic ACCESS_TOKEN' or 'apikey: API_KEY
Marylou answered 9/4, 2020 at 9:57 Comment(0)
S
7

For each resource, you can enable/disable security.

  1. Go to the resources tab.
  2. Click on the relevant resource
  3. Disable security.
  4. Publish API

Please refer to the attached image. enter image description here

For publishing api refer attached image

enter image description here

Sneeze answered 10/4, 2020 at 2:14 Comment(1)
Worked ,I forgot to republish the API,updated the answer.Thank you.Marylou

© 2022 - 2024 — McMap. All rights reserved.