cURL command line utility
curl recipes
Determine HTTP status (200, 404, etc.) with --write-out '%{http_code}'
--write-out '%{http_code}'#!/bin/bash
function httpStatus { echo "$( curl --silent --output /dev/null --write-out '%{http_code}' $1 )" ; }
echo "Azure: $( httpStatus "https://portal.azure.com/" )"Send some XML via POST to a URL
Read body to upload from STDIN (via --data @-)
--data @-)Read body to upload from file
Tracing your cURL calls with Fiddler

Extract both custom HTTP header values and the body from a request
Links
Last updated