Remove security only for some requests wso2 api manager

蓝咒 提交于 2021-02-05 06:35:09

问题


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

回答1:


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.

For publishing api refer attached image



来源:https://stackoverflow.com/questions/61118505/remove-security-only-for-some-requests-wso2-api-manager

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!