Forum Discussion

paragkk80's avatar
paragkk80
New Member
2 years ago

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.

No RepliesBe the first to reply