Allow setting curl options in environment variable (#455)

This commit is contained in:
Jesse Peterson
2018-07-12 04:35:42 -07:00
committed by Victor Vrantchan
parent 9f60f7baca
commit 8f5838ceea
20 changed files with 20 additions and 20 deletions

View File

@@ -7,4 +7,4 @@ jq -n \
'.udid = $udid
|.request_type = $request_type
'|\
curl -u "micromdm:$API_TOKEN" "$SERVER_URL/$endpoint" -d@-
curl $CURL_OPTS -u "micromdm:$API_TOKEN" "$SERVER_URL/$endpoint" -d@-