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
ret = sesh.put('/users/me', {'username': 'myusername', 'email': '[email protected]'})
However, if one of your parameters is None it does not correctly sign:
ret = sesh.put('/users/me', {'username': None, 'email': '[email protected]'})
The issue is that it tries to sign with the string "username=None" however it should ignore that parameter (as the requests library does). The requests library does not sign "None" paramters in POST bodies.
The text was updated successfully, but these errors were encountered:
The following payload correctly signs
However, if one of your parameters is
None
it does not correctly sign:The issue is that it tries to sign with the string "username=None" however it should ignore that parameter (as the requests library does). The requests library does not sign "None" paramters in POST bodies.
The text was updated successfully, but these errors were encountered: