You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, i thought i might take a look at this for mastodon.el and/or fedi.el.
i'm a little surprised that plz doesn't have a params arg taking an alist of form data parameters, which is how i'm set up with my http layers.
whats the usual way to send them with plz? i'm not thinking of alists in :body for POST requests, but GET requests that take them in the URL itself, i.e. ?q=xyz.
i can't see any mention of this in the readme, nor examples covering it. probably because it's too obvious.
The text was updated successfully, but these errors were encountered:
If you mean URL query parameters, plz doesn't handle that itself, it just accepts a URL. You can use the built-in url library to build a URL with query parameters, e.g.
Yes, plz is intended to provide an alternative to url-retrieve, not all of url and its libraries.
It would be nice to have a simpler API for URL-building than the one in the linked code, but OTOH, such code is usually written once and then not modified frequently, so I'm not sure a new API would be worth it.
hi, i thought i might take a look at this for mastodon.el and/or fedi.el.
i'm a little surprised that plz doesn't have a params arg taking an alist of form data parameters, which is how i'm set up with my http layers.
whats the usual way to send them with plz? i'm not thinking of alists in :body for POST requests, but GET requests that take them in the URL itself, i.e.
?q=xyz
.i can't see any mention of this in the readme, nor examples covering it. probably because it's too obvious.
The text was updated successfully, but these errors were encountered: