Overriding the CSS styles of the DHIS2 application, such as the login page or main page.
Including CSS styles which are used in custom data entry forms and HTML-based reports.
To insert CSS from a file called style.css you can interact with the files/style resource with a POST-request:
curl --data-binary @style.css "localhost/api/26/files/style" -H "Content-Type:text/css" -u admin:district -v
You can fetch the CSS content with a GET-request: