diff --git a/content/_data/sidebar.json b/content/_data/sidebar.json
index 22196f636d..733689d93a 100644
--- a/content/_data/sidebar.json
+++ b/content/_data/sidebar.json
@@ -350,10 +350,6 @@
{
"title": "Cross Browser Testing",
"slug": "cross-browser-testing"
- },
- {
- "title": "Web Security",
- "slug": "web-security"
}
]
},
@@ -757,10 +753,6 @@
"title": "root",
"slug": "root"
},
- {
- "title": "route",
- "slug": "route"
- },
{
"title": "screenshot",
"slug": "screenshot"
@@ -781,10 +773,6 @@
"title": "selectFile",
"slug": "selectfile"
},
- {
- "title": "server",
- "slug": "server"
- },
{
"title": "session",
"slug": "session"
@@ -941,10 +929,6 @@
"title": "SelectorPlayground",
"slug": "selector-playground-api"
},
- {
- "title": "Server",
- "slug": "cypress-server"
- },
{
"title": "arch",
"slug": "arch"
diff --git a/content/api/commands/intercept.md b/content/api/commands/intercept.md
index 73bac98f2f..bcef84fa4d 100644
--- a/content/api/commands/intercept.md
+++ b/content/api/commands/intercept.md
@@ -11,13 +11,6 @@ Spy and stub network requests and responses.
-
-
-`cy.intercept()` is the successor to `cy.route()` as of Cypress 6.0.0. See
-[Comparison to `cy.route`](#Comparison-to-cy-route).
-
-
-
All intercepts are automatically cleared before every test.
@@ -1486,16 +1479,6 @@ Cypress.minimatch('http://localhost/users?_limit=3', '**/users?_limit=+(3|5)', {
// true (plus debug messages)
```
-## Comparison to `cy.route()`
-
-Unlike [cy.route()](/api/commands/route), `cy.intercept()`:
-
-- can intercept all types of network requests including Fetch API, page loads,
- XMLHttpRequests, resource loads, etc.
-- does not require calling [cy.server()](/api/commands/server) before use - in
- fact, `cy.server()` does not influence `cy.intercept()` at all.
-- does not have method set to `GET` by default, but intercepts `*` methods.
-
## `cy.intercept()` and request caching
`cy.intercept()` intercepts requests at the network layer. This can cause
@@ -1597,7 +1580,6 @@ information about the request and response to the console:
- [Network Requests Guide](/guides/guides/network-requests)
- [Cypress Example Recipes](https://github.com/cypress-io/cypress-example-recipes#stubbing-and-spying)
- [Kitchen Sink Examples](https://github.com/cypress-io/cypress-example-kitchensink/blob/master/cypress/integration/2-advanced-examples/network_requests.spec.js)
-- [Migrating `cy.route()` to `cy.intercept()`](/guides/references/migration-guide#Migrating-cy-route-to-cy-intercept)
- [Smart GraphQL Stubbing in Cypress](https://glebbahmutov.com/blog/smart-graphql-stubbing/)
blog post
diff --git a/content/api/commands/origin.md b/content/api/commands/origin.md
old mode 100755
new mode 100644
index 385a54ab13..f91b2594fa
--- a/content/api/commands/origin.md
+++ b/content/api/commands/origin.md
@@ -508,8 +508,6 @@ following Cypress commands will throw errors if used in the callback:
- `cy.origin()`
- [`cy.intercept()`](/api/commands/intercept)
- [`cy.session()`](/api/commands/session)
-- [`cy.server()`](/api/commands/server)
-- [`cy.route()`](/api/commands/route)
### Other limitations
diff --git a/content/api/commands/request.md b/content/api/commands/request.md
index 6f2a9bb0ba..a38a76dd4b 100644
--- a/content/api/commands/request.md
+++ b/content/api/commands/request.md
@@ -357,12 +357,9 @@ browser cookies.
In other words, `cy.request()` transparently performs all of the underlying
functions as if it came from the browser.
-### [`cy.intercept()`](/api/commands/intercept), [`cy.server()`](/api/commands/server), and [`cy.route()`](/api/commands/route)
+### [`cy.intercept()`](/api/commands/intercept)
-#### `cy.request()` sends requests to actual endpoints, bypassing those defined using `cy.route()` or `cy.intercept()`
-
-`cy.server()` and any configuration passed to
-[`cy.server()`](/api/commands/server) has no effect on `cy.request()`.
+#### `cy.request()` sends requests to actual endpoints, bypassing those defined using `cy.intercept()`
The intention of `cy.request()` is to be used for checking endpoints on an
actual, running server without having to start the front end application.
diff --git a/content/api/commands/route.md b/content/api/commands/route.md
deleted file mode 100644
index 267f9f66fd..0000000000
--- a/content/api/commands/route.md
+++ /dev/null
@@ -1,628 +0,0 @@
----
-title: route
----
-
-Use `cy.route()` to manage the behavior of network requests.
-
-
-
-⚠️ **`cy.server()` and `cy.route()` are deprecated in Cypress 6.0.0**. In a
-future release, support for `cy.server()` and `cy.route()` will be removed.
-Consider using [`cy.intercept()`](/api/commands/intercept) instead. See our
-guide on
-[Migrating `cy.route()` to `cy.intercept()`](/guides/references/migration-guide#Migrating-cy-route-to-cy-intercept)
-
-
-
-
-
-⚠️ `cy.route()` and `cy.server()` only support intercepting XMLHttpRequests.
-Requests using the Fetch API and other types of network requests like page loads
-and `