Apache Tomcat · Example Payload

Tomcat Deploy Application Example

Application ServerJavaServlet ContainerWeb ServerOpen SourceApache

Tomcat Deploy Application Example is an example object payload from Apache Tomcat, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "PUT",
    "url": "http://localhost:8080/manager/text/deploy?path=/myapp&update=true",
    "headers": {
      "Authorization": "Basic {base64(admin:password)}",
      "Content-Type": "application/octet-stream"
    },
    "body": "<binary WAR file content>"
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "text/plain;charset=utf-8"
    },
    "body": "OK - Deployed application at context path [/myapp]"
  }
}