Skip to content

With Credentials

Fatih Koca edited this page Nov 27, 2019 · 1 revision

With Credentials property is a Boolean that indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates. Setting withCredentials has no effect on same-site requests. There is a detailed explanation here.

Default value is false.

Vue.ajax.get("http://example.com", data, {
    withCredentials: false
});
Clone this wiki locally