Advertisement
Guest User

Untitled

a guest
Mar 27th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. https://resttest.datazoo.com/api/Authenticate.json
  2.  
  3. dict_items([('Content-Type', 'application/json')])
  4.  
  5. {
  6. Username: notfuckingthisagain,
  7. Password: not this time!
  8. }
  9.  
  10. send that shit using request.post()
  11.  
  12. return is below as response.json()
  13.  
  14. {'sessionToken': 'justincase', 'countries': [{'country': 'NewZealand', 'dataSources': ['Credit Bureau', 'Companies Office', 'DIA-Birth', 'DIA-Citizenship', 'DIA-Passport', 'NZTA Drivers License', 'DZ NAD', 'DZ Vehicle', 'LINZ Property', 'MVRVR-ALL', 'MVRVR-DOB', 'MVRVR-NAD', 'Yellow Pages', 'Watchlist AML']}]}
  15.  
  16. pull the sessiontoken out using fucking dicts.
  17.  
  18. justincase
  19. this is the key justincase
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement