Last active
June 2, 2023 07:51
-
-
Save OluwadaraDaily/af7dc4bc7b62310586e123fe26de0a01 to your computer and use it in GitHub Desktop.
An example of headers in Javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const headers = { | |
Authorization: [YOUR_TOKEN_OR_API_KEY], | |
Content-Type: ["application/json", "text/plain", "multipart/form-data", ...], | |
Cache-Control: ["no-cache", "max-age", "no-store", ...], | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment