Fix merge conflict
Pass a static callback to cURL
Make timer_interval and repat_for integers rather than strings; add a send_post/send_put without repeat_for; don't URL-escape the JSON