Simple PHP wrapper for registering a lead in SugarCRM SugarOnDemand 7.x using the REST v10 API with OAuth2 using PHP cURL. Uses the endpoints /oauth2/token and /Leads/register. http://support.sugarcrm.com/02_Documentation/04_Sugar_Developer/Sugar_Developer_Guide_7.2/70_API/Web_Services/10_REST/