Use the correct libcurl bindings to sent json data as post content