Last active
November 16, 2021 03:33
-
-
Save wallat/3d294c8c280d89756267aa4555718881 to your computer and use it in GitHub Desktop.
[Fetch POST]
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
fetch(`${url}`, { | |
credentials: 'include', | |
method: 'POST', | |
headers: { | |
'Content-Type': 'application/json', | |
funStoreId: this.funStoreId | |
}, | |
body: JSON.stringify(postData) | |
}) | |
.then(res => res.json()) | |
.then(res => {}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment