as the title
develop on the local server localhost and interact with the api provided by the online server.
the domain cookie that saves the login token is what localhost, wants to send the cookie to the online server .a.com.
A lot of methods have been found on the Internet, but they can"t achieve their goals.
the following is the related code
httpcookie
http
also ask the bosses for advice