how to send cookies inside post request
问题 trying to send Post request with the cookies on my pc from get request #! /usr/bin/python import re #regex import urllib import urllib2 #get request x = urllib2.urlopen("http://www.example.com) #GET Request cookies=x.headers['set-cookie'] #to get the cookies from get request url = 'http://example' # to know the values type any password to know the cookies values = {"username" : "admin", "passwd" : password, "lang" : "" , "option" : "com_login", "task" : "login", "return" : "aW5kZXgucGhw" }