2 ms·
Does the variable "r" in your first example afford you anything more than what you can get from requests.post? e.g. Can you capture a return value from requests
by progmetaldev 4y ago
Does the variable "r" in your first example afford you anything more than what you can get from requests.post? e.g. Can you capture a return value from requests.post, and does it give you the same information to help debug that http.request gives?
- xavdid 4y ago> e.g. Can you capture a return value from requests.post Yes, I just didn't in my toy example. That's the response object, which will typically include all the response info, plus reponse.request, which has request info. > and does it give you the same information to help debug that http.request gives? I'm not positive, but I'd bet it's similar.