SHARE
TWEET

Untitled

a guest Jul 18th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  const response = await fetch(loginUrl, {
  2.                 method: 'POST',
  3.                 headers: {
  4.                     'Authorization': `Basic ${loginAuthString}`,
  5.                     'Content-Type': 'application/json'
  6.                 },
  7.                 body: JSON.stringify({
  8.                     "username": username,
  9.                     "password": password
  10.                 })
  11.             })
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