Contact Us 1-800-596-4880

Get a File

Tcat Server reached its End of Life in 2017. Contact your Customer Success Manager to determine options for managing, monitoring, or deploying your application.

The GET operation returns the specified file on the server relative to CATALINA_BASE. URLs are of the form http://localhost:8080/console/api/servers/73d89173-290e-4cb3-a61c-e11deb74767d/files/<path>; where <path> is the path of the file you want to retrieve.

Example Request:

GET http://localhost:8080/console/api/servers/73d89173-290e-4cb3-a61c-e11deb74767d/files/conf/server.xml

Example Response:

200
Content-Length: 6460
Set-Cookie: JSESSIONID=54D3308EA4FA18A9E29165C252D175FF; Path=/console
Content-Type: application/octet-stream
Server: Apache-Coyote/1.1
Date: Mon, 27 Jul 2015 23:45:37 GMT

... file data ...