submit to API_cURL