Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions IIS-Administration/api/sites.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ Creating a web site that listens on port 8081. **POST** _/api/webserver/websites
"physical_path": "C:\\inetpub\\wwwroot\\DemonstrationSite",
"bindings": [
{
"protocol": "HTTP",
"protocol": "http",
"port": "8081",
"ip_address": *
"ip_address": "*"
}
]
}
Expand All @@ -154,9 +154,9 @@ Creating a web site that listens for HTTPS requests on port 8082. **POST** _/ap
"physical_path": "C:\\inetpub\\wwwroot\\DemonstrationSite",
"bindings": [
{
"protocol": "HTTPS",
"protocol": "https",
"port": "8082",
"ip_address": *,
"ip_address": "*",
"certificate": {
"id": {certificate_id}
}
Expand All @@ -176,9 +176,9 @@ Creating a web site for a specific application pool. **POST** _/api/webserver/we
"physical_path": "C:\\inetpub\\wwwroot\\DemonstrationSite",
"bindings": [
{
"protocol": "HTTP",
"protocol": "http",
"port": "8081",
"ip_address": *
"ip_address": "*"
}
],
"application_pool": {
Expand All @@ -200,14 +200,14 @@ Adding a binding to a web site. **PATCH** _/api/webserver/websites/{id}_
{
"bindings": [
{
"protocol": "HTTP",
"protocol": "http",
"port": "80",
"ip_address": *
"ip_address": "*"
},
{
"protocol": "HTTP",
"protocol": "http",
"port": "8080",
"ip_address": *
"ip_address": "*"
}
]
}
Expand Down