Nav

Get a File

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:


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

Example Response:


       
    
1
2
3
4
5
6
7
8
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 ...

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.

+