Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fetch(URL, {
- method: 'POST',
- Headers: {
- 'Accept': 'application/json',
- 'Authorization': 'Basic',
- Authorization:{
- 'Username':'test',
- 'Password':'test',
- },
- 'Content-Type': 'application/x-www-form-urlencoded'
- },
- body: JSON.stringify({
- })
- })
- .then((response) => response.json())
- .then((responsenew) =>
- {
- });
Add Comment
Please, Sign In to add comment