API - export config

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
zpolisensky
Posts: 6
Joined: Fri Nov 09, 2018 1:36 pm

API - export config

Post by zpolisensky » Tue Nov 13, 2018 11:07 am

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
You do not have the required permissions to view the files attached to this post.

Post Reply