-2
import requests
from requests.structures import CaseInsensitiveDict
url = f"http://localhost/teste.php"
headers = CaseInsensitiveDict()
headers["Accept"] = "*/*"
resp = requests.get(url, headers=headers)
So I have this simple script, I would like to be able to pick up information that is in the Answer of it
Example: Name":"Joao"
and I wish I could extract only the name Joao Someone could help me?
You could provide an example of sponse that can be received?
– enzo
{"Record":{"name":"Joao","email":"[email protected]"}} would just take the name Joao
– Pl4net Decoded
I added an answer, see if it solves your problem.
– enzo