All Downloads are FREE. Search and download functionalities are using the official Maven repository.

raml.schemas.logged-request.schema.json Maven / Gradle / Ivy

There is a newer version: 3.0.1
Show newest version
{
    "type": "object",
    "properties": {
        "url": {
            "description": "The path and query to match exactly against",
            "type": "string"
        },
        "absoluteUrl": {
            "description": "The full URL to match against",
            "type": "string"
        },
        "method": {
            "description": "The HTTP request method e.g. GET",
            "type": "string"
        },
        "headers": {
            "description": "Header patterns to match against in the : { \"\": \"\" } form",
            "type": "object"
        },
        "cookies": {
            "description": "Cookie patterns to match against in the : { \"\": \"\" } form",
            "type": "object"
        },
        "body": {
            "description": "Body string to match against",
            "type": "string"
        }
    },

    "example": {
        "url": "/received-request/2",
        "absoluteUrl": "http://localhost:56738/received-request/2",
        "method": "GET",
        "headers": {
            "Connection" : "keep-alive",
            "Host" : "localhost:56738",
            "User-Agent" : "Apache-HttpClient/4.5.1 (Java/1.7.0_51)"
        },
        "cookies": { },
        "body": "Hello world"
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy