5 years later & this is still the easiest to read example of using the SugarCRM REST interface … even though the example is for SOAP :-)

I used it to double check the format of the calls to set_entry, for my upcoming SugarCRM library, Cane

https://github.com/Stubbs/cane