diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-17 12:10:42 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-17 12:10:42 +0100 |
commit | 325644ad5a155d35e89fd9516b578993481807e5 (patch) | |
tree | 42efd7ad2d251c00bf12cea913e279f5e74658cc /lisp/mastodon-http.el | |
parent | 5e71d81fe698badab960df2f6b46b89c4b6744d7 (diff) | |
parent | 0996c7eabfd89e6bb5fa3c9f2558c9d6ac23a44b (diff) |
Merge branch 'mentions-view' into develop
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r-- | lisp/mastodon-http.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index 66707b7..a127427 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -121,6 +121,11 @@ Unless UNAUTHENTICATED-P is non-nil." args "&")) +(defun mastodon-http--build-array-args-alist (param-str array) + "Return parameters alist using PARAM-STR and ARRAY param values." + (cl-loop for x in array + collect (cons param-str x))) + (defun mastodon-http--post (url args headers &optional unauthenticated-p) "POST synchronously to URL with ARGS and HEADERS. |