all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Examples of using jsonrpc.el to talk to http servers?
@ 2024-12-26 23:41 Eduardo Ochs
  0 siblings, 0 replies; only message in thread
From: Eduardo Ochs @ 2024-12-26 23:41 UTC (permalink / raw)
  To: help-gnu-emacs

Hi list,

I am trying to learn how to use JSONRPC, and a friend - subhuman - was
helping me on IRC... we started by adapting the two snippets of code
here,

  https://json-rpc.readthedocs.io/en/latest/quickstart.html

to make a Python client talk via JSONRPC to a Python server, and
everything worked...

...then we tried to write some elisp code to talk to that Python
server, and my friend had to write a lot of code to make that work,
because:

  "jsonrpc.el ... is purely TCP, it doesn't send http protocol
   headers, while the server we're both running expects GET blablablah
   and THEN your rpc post data"

We got something that works, but it was a hack, and we're not very
proud of it.



___QUESTION___:

Where can we find examples of using the functions in jsonrpc.el to
talk to HTTP clients, that expect more headers?

Thanks in advance!
  Eduardo Ochs
  http://anggtwu.net/emacsconf2024.html



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-26 23:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-26 23:41 Examples of using jsonrpc.el to talk to http servers? Eduardo Ochs

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.