Hi

I am trying to upload file to container using REST API and I get the
following error:

curl -s -k -X POST -d "@test" --cert client.crt --key client.key
https://192.168.10.155:8443/1.0/containers/test/files?path=/tmp/test

015/07/15 17:17:31 handling POST /1.0/containers/test/files?path=/tmp/test
2015/07/15 17:17:31
{
"error": "strconv.ParseInt: parsing \"\": invalid syntax",
"error_code": 400,
"type": "error"
}


Does anyone know if I have syntax error or is this a bug?

Thanks
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to