How to extract Set-Cookie value from Response Header React JS?

Is it possible to read Set-Cookie header from Response Header after doing a POST call? I'm doing a post call and in return I'm receiving a cookie

I'm using Java(SpringBoot) in the backend and React Js for the front end.

    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json'
    method: "POST",
    body: JSON.stringify(data)
 //I'm getting just these headers >> Cache control, content-length, expires and pragma
.catch(e => console.log(e)