Last active
September 28, 2021 05:15
Revisions
-
yushanwebdev revised this gist
Sep 28, 2021 . No changes.There are no files selected for viewing
-
yushanwebdev revised this gist
Sep 28, 2021 . 2 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.Empty file. -
yushanwebdev revised this gist
Sep 26, 2021 . 3 changed files with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +0,0 @@ This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ // https://github.com/matthew-andrews/isomorphic-fetch/issues/34 // This helped me to solve the issue. const myHeaders = new Headers(); myHeaders.append('Content-Type', 'application/json'); Empty file. -
yushanwebdev revised this gist
Sep 26, 2021 . 2 changed files with 11 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ const myHeaders = new Headers(); myHeaders.append('Content-Type', 'application/json'); fetch('/contact-form', { method: 'POST', headers: myHeader, body: JSON.stringify(fields) }).then(() => { dispatch(contactFormSubmitSuccess()); }); -
yushanwebdev renamed this gist
Sep 26, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
yushanwebdev renamed this gist
Sep 26, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
yushanwebdev created this gist
Sep 26, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ This GitHub issue helped me to solved this. https://github.com/matthew-andrews/isomorphic-fetch/issues/34