diff options
author | default <nobody@localhost> | 2022-09-20 21:00:16 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-20 21:00:16 +0200 |
commit | d76131b4737832585e58bda6e47125d8fb9bd8b4 (patch) | |
tree | 537982247ce0d00efa309fea46a7de345b76c4c3 /main.c | |
parent | 9a2e7d4b82cd36188ca3e495b7b25d0a571400b1 (diff) |
Added http signed request code (untested).
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -15,6 +15,13 @@ int main(int argc, char *argv[]) user_open(&snac, "mike"); + d_char *headers = xs_dict_new(); + int status; + d_char *payload; + int p_size; + http_signed_request(&snac, "GET", "https://comam.es/snac/jessie", + headers, NULL, 0, &status, &payload, &p_size); + { xs *list = queue(&snac); char *p, *fn; |