What does withCredentials do in axios?

The

document is described as "indicating whether credentials are required for cross-domain requests."

is this "credential" automatically generated and saved in cookie when withCredentials is turned on and then taken with it when http is requested?

Jul.23,2021

when withCredentials is enabled, the server can get your cookie , and then the server should also set it to allow you to access it before it is useful.

Menu