These are chat archives for spring-cloud/spring-cloud

Dec 2018
Dec 31 2018 05:52
@marcosbarbero you mean i should still try this request from angular but using curl??
Marcos Barbero
Dec 31 2018 06:16
@muhmadtabrez i mean you try both requests using curl and see the difference, instead of postman and angular
Dec 31 2018 06:30
@marcosbarbero yes you are right when i am trying to call the secured api with curl command i am getting 401
I am getting Access is denied
at ~[spring-security-core-4.2.2.RELEASE.jar:4.2.2.RELEASE] exception
As said earlier i have configured two WebSecurityConfigurerAdapter filters one for enabling csrf and other for basic authentication
when i am trying to access the secured api with Authorization header i am getting 401

$ curl --request GET \

--url http://localhost:8088/core-employee/getUserInform \
--header 'Accept: application/json' \
--header 'Authorization: bearer 6a639b50d0fe444a8b7724aea38bf871' \
--header 'Content-Type: application/json'
this is my curl am i making any mistake while calling the api

Dec 31 2018 07:23
Hi to all , How to disable unused filter in zuul? and how to detect which of them is unnecessary?
How to detect unused filter to disable in zuul for improving performance and response time?