Get request python as a string -
i wanted send request in python , return string. wanna use string later on. default python return in json format?
req = requests.get(server, auth=('user',"pass")) thanks
use python requests. check link, there examples how json response.
req = requests.get(server, auth=('user',"pass")) req.json if want string, use
req.text
Comments
Post a Comment