Skip to content
Snippets Groups Projects
Commit 7d4726ea authored by David Hoksza's avatar David Hoksza Committed by Piotr Gawron
Browse files

data-binary needed when using curl

parent dc6a6b4c
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!494Conversion rest api scaling
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment