Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
httpieのdocverterを使用してドキュメントをレンダリングしようとしています。すべての例はCurl用です。私は試した
http -f POST http://c.docverter.com/convert from=markdown to=html input_files@example.txt --output out.html
しかし、ウェブサイトはエラーをスローします
/ convertのTypeError は、シンボルを整数に変換できません
あなたはそれをかなり近くに持っていました。呼び出しhttpは次のようになります。
http
http --form -f POST http://c.docverter.com/convert from=markdown to=html input_files[]@example.md --output out.html && open out.html
デバッグ中に、間違ったタイプミスを見つけてv1.0.1を出荷し、パブリックインスタンスにインストールしました。