summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-08 07:04:40 +0200
committerdefault <nobody@localhost>2023-04-08 07:04:40 +0200
commiteba6987fd55c2cc94393c61e6bbd86514e14993b (patch)
tree0d1b2112e57bae091bc2bee8d3c77fcbd9d2319a /httpd.c
parent353e393f4de68a209f2d454ca62516e180a3f54a (diff)
Added some OAuth scaffold code.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index 183e194..e220d29 100644
--- a/httpd.c
+++ b/httpd.c
@@ -186,6 +186,10 @@ void httpd_connection(FILE *f)
payload, p_size, &body, &b_size, &ctype);
if (status == 0)
+ status = oauth_post_handler(req, q_path,
+ payload, p_size, &body, &b_size, &ctype);
+
+ if (status == 0)
status = mastoapi_post_handler(req, q_path,
payload, p_size, &body, &b_size, &ctype);