How to use pandoc-server on MacOS #9843
Answered
by
tarleb
guanpengchn
asked this question in
Q&A
-
I have installed pandoc. And run pandoc-server like this: When I curl this port, there is nothing happened. Why? I also try it on Linux server. But the same answer. |
Beta Was this translation helpful? Give feedback.
Answered by
tarleb
Jun 4, 2024
Replies: 2 comments
-
The correct invocation would be curl -H 'Content-Type: application/json' \
--data-raw '{"from":"html", "text":"<h1>My headline</h1>","to":"markdown"}' \
--X POST \
http://localhost:3030/ See the pandoc-server manpage. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
guanpengchn
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The correct invocation would be
See the pandoc-server manpage.