How to send header with cookie JSESSIONID in angular 9 http request

imran4 years ago

It is working with { headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': 'Basic ' + btoa('imrank@gmail.com:111111') }) };
but how send cookie id with header, i am trying different ways but facing bad request error

mohamed_fadol4 years ago

did find any solution bro ?

macelo2 years ago

Any suggestion, I am trying to consume websocket api in ANGULAR