mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-11 12:15:34 +08:00
Allow setting curl options in environment variable (#455)
This commit is contained in:
committed by
Victor Vrantchan
parent
9f60f7baca
commit
8f5838ceea
@@ -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@-
|
||||
|
||||
Reference in New Issue
Block a user