Send Content-Length with API requests.