You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try:
r = requests.post(url, data=json.JSONEncoder().encode(jsondata), auth=self.credentials_provider.auth())
except Exception as e:
print "HTTP exception for POST %s" % e
...
HTTP exception for POST call() takes exactly 2 arguments (1 given)
Works for get requests from the same host (python interactive) with
requests.get(endpoint, auth=awsauth)
I can't find any documentation on this either in the requests library or here.
The text was updated successfully, but these errors were encountered:
I'm also having issues trying to use this library with POST-requests. GET-requests work fine. It looks to me like the signatures might not be working properly for POST-requests, maybe because the payload is not signed? I get the following error.
{'message': 'The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.'}
Readme does say: GET URL parameter and POST parameter authentication are not supported..
I may be brain dead, or just new at this, but how do you send a signed POST request?
Trying this:
class CredentialsProvider(object):
...
...
HTTP exception for POST call() takes exactly 2 arguments (1 given)
Works for get requests from the same host (python interactive) with
requests.get(endpoint, auth=awsauth)
I can't find any documentation on this either in the requests library or here.
The text was updated successfully, but these errors were encountered: