Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- axios({
- method: "post",
- url: url,
- data: data,
- mode: 'no-cors',
- headers: {
- "token": userToken,
- "uuid": userId,
- "Content-Type": "text/plain;charset=utf-8;application/json",
- "Accept": "application/json",
- }
- })
- .then(response => {
- console.log(response)
- })
- .catch(error => {
- console.log(error);
- });
Add Comment
Please, Sign In to add comment