int rc = http_request(url, controller->username, controller->password, "DELETE", "", 0, 0);
if(rc != NTS_ERR_OK) {
log_error("http_request failed");
int rc = http_request(url, controller->username, controller->password, "DELETE", "", 0, 0);
if(rc != NTS_ERR_OK) {
log_error("http_request failed");