The Upload Login BG File REST API uploads a background image for the Data Director application login page. To specify the file name, add it to the X-File-Name header of the POST request. Send the image data in the REST request body. The Content-Type header value must be
application/octet-stream
.
The API uses the POST method.
The file size of the image must not exceed the value of the
The Upload Login BG File URL has the following format:
http://<host>:<port>/<context>/<path>
Make the following HTTP POST request to the Update Login BG URL:
POST http://<host>:<port>/cmx/ui/theme/login_bg_image
Sample API Request
The following sample request uploads the login page background image file:
POST http://localhost:8080/cmx/ui/theme/login_bg_image
Sample API Response
The API returns a 200 OK response code after successfully uploading a new background image file for the Data Director login page. The response body is empty.