mode property
Contains the mode of the request.
This property is read-only.
Syntax
JavaScript |
---|
mode = object.mode |
Property values
Type: RequestMode
A DOMString that represents the request's mode.
Standards information
Remarks
The possible values of mode are:
- "same-origin"
- "cors"
- "no-cors"
- "navigate"
The value of mode is "no-cors"
by default.