Removed unused 'state' parameter from the cUrl requests.