hope you can help me on with this issue that i've been trying to solve within the last 2 weeks and i finallly gave up on reading the requests documentation. I happen to think that what i need is very simple, but somehow i have not been able to solve it.
I have the following code:
import requests
a=requests.post(url, params)
How do i know the http string that im sending?
What i need to do is to get the string so I can make a signature with a secret key, add it to the parameters and make the post with the signature as a new parameter. So, i know the methods and the paremeters in order to post, but I dont know that the request.post makes to those objects. It would be something like this:
what_i_send=request.post(url, params)
signature=signature_method(what_i_send)
params["signature"]=signature
final_request=request.post(url,params)
thanks a lot!