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.
Questions tagged [restclient]
8 questions
7
votes
1 answer
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 -X POST
--proxy http://my-proxy.local:9001 \
…

Sukotto
- 191
- 5
5
votes
1 answer
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
data=foobar
The endpoint receives a form with the…

Matthew Piziak
- 5,958
- 3
- 29
- 77
2
votes
2 answers
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 texts, but for programming, task management,…

J C Gonzalez
- 365
- 4
- 9
2
votes
1 answer
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-http-handle-response: peculiar error: "failed with…

Matthew Piziak
- 5,958
- 3
- 29
- 77
1
vote
1 answer
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 block (request) inline during the presentation.
You…

Plurax
- 13
- 2
0
votes
1 answer
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 been evaulated.
What could be the problem my restclient mode is not…

wagnermarques
- 29
- 5
0
votes
1 answer
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 output of the function call to the variable :uid but rather…

stand
- 115
- 5
0
votes
1 answer
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 making actual requests. One example would…

Wojciech Gac
- 527
- 2
- 13