From 7d4726ea2a03e8491b8d3c2a3c54f41652f36647 Mon Sep 17 00:00:00 2001 From: unknown <david.hoksza@gmail.com> Date: Thu, 25 Oct 2018 16:10:17 +0200 Subject: [PATCH] data-binary needed when using curl --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b251437d1c..b568921a6a 100644 --- a/README.md +++ b/README.md @@ -505,7 +505,7 @@ curl -X GET --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx" http://pg-sandbox.uni.lu/mine * Body: the input file to be converted * Example: ``` -curl -X GET --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx" --data @cell_designer.xml -H "Content-Type: text/plain" http://pg-sandbox.uni.lu/minerva/api/convert/CellDesigner_SBML:SBML +curl -X GET --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx" --data-binary @cell_designer.xml -H "Content-Type: text/plain" http://pg-sandbox.uni.lu/minerva/api/convert/CellDesigner_SBML:SBML ``` * Conversion to image @@ -527,7 +527,7 @@ curl -X GET --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx" http://pg-sandbox.uni.lu/mine * Body: the input file to be converted * Example: ``` -curl -X GET --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx" --data @cell_designer.xml -H "Content-Type: text/plain" http://pg-sandbox.uni.lu/minerva/api/convert/image/CellDesigner_SBML:SVG +curl -X GET --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx" --data-binary @cell_designer.xml -H "Content-Type: text/plain" http://pg-sandbox.uni.lu/minerva/api/convert/image/CellDesigner_SBML:SVG ``` # JavaScript API. Unstable dev API. -- GitLab