问题
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.
- Go to the resources tab.
- Click on the relevant resource
- Disable security.
- 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