print contents of post
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -48,6 +48,15 @@ int outlet_create_handler(short event, restd_conn_t *conn, void *userdata)
|
||||
printf("==> RESTD_EVENT_READ");
|
||||
}
|
||||
|
||||
else if (event & RESTD_EVENT_CLOSE)
|
||||
{
|
||||
long int taille;
|
||||
char *data;
|
||||
data = restd_http_get_content(conn, 0, &taille);
|
||||
printf("******* : <%s>\n", data);
|
||||
free(data);
|
||||
}
|
||||
|
||||
#if 0
|
||||
devices_manager_t *dm = (devices_manager_t *)userdata;
|
||||
struct evbuffer *buffer;
|
||||
|
||||
Reference in New Issue
Block a user