Support license upload
This example shows how to upload a license file as a mutipart/form-data.
Request
POST https://<ip address>:<port>/fpc/api/license
multipart/form-data; name="licenseFile"
value = license file
Headers
accept: application/json
Content-type: application/json
fpc-sid: $FPCSID
Cookie: JSESSIONID=$FPCSID
Response
json
201 Created
Response Header:
Location: http://localhost/fpc/api/license
Content-Type: application/json;charset=UTF-8
Date: Tue, 12 Oct 2021 17:52:28 GMT
Content-Length: 87
Message Body
{
"location": "http://localhost/fpc/api/license",
"message": "license uploaded succefully"
}