-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I am trying to execute through tramp with multiple hops or a remote server but it does not work.
This does not work
#+BEGIN_SRC http :pretty
POST https://myserver.com/process
'content-type: application/json'
{
"input" : "test"
}
#+END_SRC
Error is :
apply: Cannot redirect stderr: No such file or directory, /ssh:myserver.com:/tmp/curl-error1TEJZC
But executing curl through sh does work through tramp.
I guess the curl is executed on the remote host.
#+BEGIN_SRC sh
curl -X POST https://myserver.com/process -d '{"input" : "test"}'
#+END_SRC
Am I missing something ? Are there any config which needs to be setup to use ob-http with tramp ?
Metadata
Metadata
Assignees
Labels
No labels