SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fetch('http://localhost:8100/api/user/create_user.php', {
  2.   method: 'POST',
  3.   headers: {
  4.     'Content-Type': 'application/json'
  5.   },
  6.   body: JSON.stringify(...DATAHIER...)
  7. })
  8. .then(res => res.json())
  9. .then(res => console.log(res))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top