Advertisement
Guest User

Untitled

a guest
Dec 15th, 2018
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. post
  2. https://delivery.panerabread.com/foundation-api/public/unencoded/auth
  3. username=<USER>&password=<PASS>&grantType=password
  4.  
  5. 'Origin': 'https://delivery.panerabread.com',
  6. 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36',
  7. 'Content-Type': 'application/x-www-form-urlencoded',
  8. 'Accept': '*/*',
  9. 'Referer': 'https://delivery.panerabread.com/myPanera/',
  10. 'Accept-Encoding': 'gzip, deflate, br',
  11. 'Accept-Language': 'en-US,en;q=0.9'}
  12.  
  13. Then get these 2 tokens from response
  14. access_token
  15. customerId
  16.  
  17. and put these 2 tokens in redirect header
  18.  
  19. 'Cache-Control': 'max-age=0',
  20. 'X-Locale': 'en-US',
  21. 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36',
  22. 'Accept': 'application/json, text/plain, */*',
  23. 'X-Business-Unit': 'retail',
  24. 'X-Customer-Id': customerId,
  25. 'access_token': access_token,
  26. 'Referer': 'https://delivery.panerabread.com/account/my_payment_methods',
  27. 'Accept-Encoding': 'gzip, deflate, br',
  28. 'Accept-Language': 'en-US,en;q=0.9'}
  29.  
  30. and capture gift card + it's balance
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement