curl / Mailing Lists / curl-library / Single Mail

curl-library

curl_http_post: How to minimize the data usage

From: Kman Devnull <kman.devnull_at_gmail.com>
Date: Tue, 17 Jan 2017 23:00:35 +0000

Hi,
I am currently using HTTP_POST with curl on my RPi like device to send data
to cloud from my IoT sensor. It consumes around 3MB of data on my SIM
connection.

Is there anything I could set in my curl/options to minimize the
data_usage? i.e. something like may be to strip away all the HTTP headers,
and to ensure only the actual data is sent across ?

Many thanks.

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-18