Update lead.php

The lead data is now passed as a JSON string under the `data` POST variable. Name, phone, email are mandatory fields. You can pass your own custom fields by adding further elements to the data array.