diff options
author | default <nobody@localhost> | 2022-09-21 18:27:30 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-21 18:27:30 +0200 |
commit | e7c886beb77a570cdac02bc36077e247618e2e20 (patch) | |
tree | b308aa531635b9237699abadb541d1a99cab7d4a /httpd.c | |
parent | 7efb6d5833c20a82ccb4bf2c89e5ce43831db540 (diff) |
More httpd work.
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,11 +2,8 @@ /* copyright (c) 2022 grunfink - MIT license */ #include "xs.h" -#include "xs_io.h" #include "xs_encdec.h" #include "xs_json.h" -#include "xs_curl.h" -#include "xs_openssl.h" #include "xs_socket.h" #include "xs_httpd.h" @@ -23,6 +20,11 @@ void httpd_connection(int rs) req = xs_httpd_request(f); + { + xs *j = xs_json_dumps_pp(req, 4); + printf("%s\n", j); + } + fclose(f); } |