Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

requests session next page python

s.post('https://localhost/login.py', login_data)
#logged in! cookies saved for future requests.
r2 = s.get('https://localhost/profile_data.json', ...)
#cookies sent automatically!
#do whatever, s will keep your cookies intact :)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #requests #session #page #python
ADD COMMENT
Topic
Name
5+7 =