Cookie authentication in post method

I have a post method trying to login asp net api, but i need to set a cookie in this post method to get the authorization. When i try the request in postman, i can see the cookie
this is my request code:

login(email: string, senha: string) {
return this.http.post(${API}/Login/Login, {email: email, senha: senha}, {withCredentials: true})
}

I tryed this withCredentials, but it doesn’t work