[PDB Tech] pdb, PUT, python, fail - or maybe stupidity...

Elmar K. Bins elmi at 4ever.de
Tue Jan 28 04:59:55 PST 2020


stefan at 20c.com (Stefan Pratter) wrote:

> put(data=json.dumps(data))

Stefan - THANKS! I owe you a json.dumps(beer) - the conversion step is crucial..

So, in essence, one needs to

 - use the entire object dict, not just changes
 - json.dumps() it before throwing it at data=
   (I had understood the requests object wrongly)

 Thank you again, this has helped tremendously.

 - Elmar.


More information about the Pdb-tech mailing list