az rest
Invoke a custom request. Azure CLI reference
8 options Its page in the Azure CLI reference
Options
--body, -bRequest body.--headersSpace-separated headers in KEY=VALUE format or JSON string.--method, -mHTTP request method--output-filesave response payload to a file--resourceResource url for which CLI should acquire a token from AAD in order to access the service.--skip-authorization-headerDo not auto-append Authorization header--uri, --url, -uRequest URL.--uri-parameters, --url-parametersQuery parameters in the URL.