Files
micromdm/tools/api/get_devices
jenjac 3370b9cb11 GET to POST (#522)
Changed GET to POST as a GET with a request body is not preferred.
2018-10-10 12:32:02 -04:00

5 lines
153 B
Bash
Executable File

#!/bin/bash
source $MICROMDM_ENV_PATH
endpoint="v1/devices"
curl $CURL_OPTS -X POST --data-binary {} -s -u "micromdm:$API_TOKEN" "$SERVER_URL/$endpoint"