add project id to post data
set cURL extension as required