Category Archives: PHP

Manually debugging the SugarCRM REST API with cURL

The SugarCRM REST API is particularly difficult to debug; it’s full of bugs and inconsistencies in behaviour, and in general a malformed request simply returns an HTTP 200 code with the data string “null”. Nothing useful is posted in the application log. To that end, I have found it essential to have cURL at my [...]
Also posted in APIs, Linux, SugarCRM | Leave a comment

Quickly see how many of your users are on Gravatar

A couple of the companies that I work with have wanted to evaluate the business case for integrating with Gravatar. In order to do this, we wanted to know how many of our users had Gravatar profiles, so I built this very simple PHP script which reads an input file containing email addresses (one per [...]
Also posted in APIs, General, Linux | 2 Comments