HttpRequest

DesktopOperating SystemUWPWin32Windows

Properties

Name Type Description
method string
uri string
headers object
content string Request body content
contentType string Content-Type header value
View JSON Schema on GitHub

JSON Schema

microsoft-windows-10-httprequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HttpRequest",
  "title": "HttpRequest",
  "type": "object",
  "properties": {
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE",
        "HEAD",
        "OPTIONS"
      ]
    },
    "uri": {
      "type": "string",
      "format": "uri"
    },
    "headers": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "content": {
      "type": "string",
      "description": "Request body content"
    },
    "contentType": {
      "type": "string",
      "description": "Content-Type header value"
    }
  },
  "required": [
    "method",
    "uri"
  ]
}