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

imran3 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_fadol3 years ago

did find any solution bro ?

macelo2 years ago

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