Upload a Java package.
Request
POST https://{hostname}:{port}
/cli/javaPackage/addJavaPackage?{parameters}
Accept: application/json
Content-Type: application/octet-stream
Parameter | Type | Required | Description |
---|---|---|---|
name | string | false | Custom package name (typically, the file name of the package). Limited to 100 characters from [-_.0-9a-zA-Z]. Certain names that have special meaning as file names such as ".." or "COM1" are rejected. |
Parameter | Type | Required | Description |
---|---|---|---|
Content-Type | application/octet-stream |
true | |
Accept | application/json |
true |
Related CLI command: addJavaPackage.