Ask a Question

401 unauthorized error in swagger 3.0

paragkk80
New Member

401 unauthorized error in swagger 3.0

Swagger curl generated command successfully run and getting the right response in local 

curl -X 'GET' \  'http://localhost:4000/xyz' \  -H 'accept: */*' \  -H 'Cookie: lzU3RhcnNFbmFibGVkXFxcIjoxfV1cIixcIlVzZXJJZFwi` 

 But from swagger ui, this same cookie is not posted when we click the execute button it thows 401 unauthorized error. 
Let me know please if anyone has the solution for this.

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: