Can axios send cookie from other domain?

for example, I have a cookie under test.com
now I want to send this cookie to a localhost, is there any way?

Mar.09,2021

if the cookie is not httpOnly (that is, JS can read to cookie), otherwise it can't

Menu