how can I get cookies in post api response data?

when I use postman I got cookies, and how can I use axios to get cookies?
I tried withCredentials: true can not ,too
This is my code

    function login(data) {
       const src = 'http://test:18089/account/login'
       const methods = {
       method: 'post',
       url: 'http://test:18089/account/login',
       data: data,
       headers: {
        'Content-Type': 'application/json'
    withCredentials: true
    return, data, {withCredentials: true})
               .then(response => {
                           return response

enter image description here

anyone can help me?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum