Questions tagged [restclient]

Representational State Transfer (REST) is a style of client-server architecture that streamlines resource discovery and exchange in stateless communications. For example, `restclients` exchange URIs and URLs with `RESTful` web services.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

restclient in emacs are not evaluation elisp

my .rest file have a variable :authKey = (getenv "GITHUB_AUTH_TOKEN") My problem is that :authKey value is been evaluating as literal (getenv "GITHUB_AUTH_TOKEN"). Elisp is not ...
wagnermarques's user avatar
0 votes
1 answer
133 views

How do I set a restclient variable by calling a function?

This is probably just a reflection of my weak elisp skills but when I try to create a restclient variable via a function call: :uid := (shell-command "uuidgen" t) It does not assign the ...
stand's user avatar
  • 115
0 votes
1 answer
535 views

How to get JSON response only from an ob-restclient block

I'm trying to construct an Org-based pipeline for some DevOps activities. Part of this requires making REST API calls and proceeding based on the results of those calls. I'm using ob-restclient for ...
Wojciech Gac's user avatar
2 votes
2 answers
60 views

Synonyms search for Spanish

I write from time to time: tales, short novels, etc. Everything in Spanish (I'm not very fluent in English). And I use Emacs since long time ago for everything I write (not only Literature related ...
J C Gonzalez's user avatar
1 vote
1 answer
666 views

Disable indenting on org-babel restclient edits

Despite I am not a new Emacs user, my elisp is nearly not existent. I want to present some REST API stuff with epresent and org babel restclient. This is working fine until I want to edit a source ...
Plurax's user avatar
  • 13
7 votes
1 answer
792 views

Converting cURL command to ob-http

I have a whole series of curl commands that I would like convert into ob-http code blocks in a org file (second choice would be to do them in restclient). Here is a simplified sample command: curl -...
Sukotto's user avatar
  • 191
5 votes
1 answer
9k views

Sending application/x-www-form-urlencoded data with restclient

When I use restclient with Content-Type: application/x-www-form-urlencoded, restclient sends newlines with the data. For example: POST :domain/thing Content-Type: application/x-www-form-urlencoded ...
Matthew Piziak's user avatar
2 votes
1 answer
1k views

restclient errors "failed with code 111"

When I run GET http://localhost/ with restclient.el, I get the following error in the *Messages* buffer: GET http://localhost:80/] Contacting host: localhost:80 error in process sentinel: restclient-...
Matthew Piziak's user avatar