```
const newUserInfo = await axios.post('auth/token/refresh',
{
headers: {
'accept': 'application/json',
'access-token': props.token,
'client-type': '2100',
}
}
);
```
Error: Exception in HostFunction: Malformed calls from JS: field sizes are different.
[[31,34],[0,0],[[586,587]],292]
curl -X 'POST' \
'http://49.50.175.211:3389/v1/auth/token/refresh' \
-H 'accept: application/json' \
-H 'access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb21haW4iOiJLQUtBTyIsImV4cCI6MTY1OTE2ODUzNiwic3ViIjoiMjI4MzE4NjI3MyJ9.8GdJ_cY5fyYdNZHNvTOOhxAuAOvydMpSSVbKv18tqzw' \
-H 'client-type: 2100' \
-d ''
const newUserInfo = await axios.post('auth/token/refresh',
{
//이 중괄호는 -d ''를 request에 포함시키기 위함이다.
},
{
headers: {
'accept': 'application/json',
'access-token': props.token,
'client-type': '2100',
}
}
);