curl_api_build_request.sh: use CURL to make build requests