Spring cloud skipper Cannot upload a package via REST API

83 Views Asked by At

I am following a doc to upload a package into Skipper Server at https://docs.spring.io/spring-cloud-skipper/docs/current-SNAPSHOT/reference/htmlsingle/#resources-package

Here is a package: Helloworld

This is curl command as

$ curl 'http://localhost:7577/api/package/upload' -i -X POST \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Accept: application/json' \
    -F 'data=/home/user1/helloworld-1.0.0.zip'

But still cannot upload a package. Please help me what's correct to upload a package to Skipper via REST API.

P.s: By using a POSTMAN but It's also impossible.

1

There are 1 best solutions below

1
On