Adding sample error handling code, fix problem with accept: */* header
show posting of data via HMAC secured api