Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.fetch('url here',{
- method: 'POST',
- headers: {
- "Content-Type": "application/json",
- },
- body: JSON.stringify({
- model: {
- ActionUrl: "",
- DisplayLinkEmail: false,
- Password: this.state.password,
- RememberMe: false,
- UserName: this.state.username,
- reCaptchaResponse: ""
- },
- returnUrl: ""
- })
- }).then((response)=>{
- console.log(response);
- return response.json();
- }).then((data)=>{
- console.log(data);
- });
Add Comment
Please, Sign In to add comment