Page 1 of 1

API - export config

Posted: Tue Nov 13, 2018 11:07 am
by zpolisensky
Hi, I'm trying to export node config using API but without success.

When I trigger export from WEB UI it works and I can see this API call in the debug window:
2018-11-13 11_57_22-EVE _ Topology.png
But when I try to call it from command line it returns error 400 - "Request not valid (60027)."
API call is:
curl -k -s -c /tmp/cookie -b /tmp/cookie -X GET -H 'Content-type: application/json' https://127.0.0.1/api/labs/IPF/lab35-ne ... 279/export

What I'm doing wrong?

Also is there any way how to export lab topology as a picture using API?

Eve-ng PRO: 2.0.4-77-PRO
OS: Ubuntu 16.04 LTS
Platform: Intel Xeon X5600

Thanks
Regards
Zbynek