-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f3e0af
commit 4108185
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Override web content and HTTP response headers locally | ||
|
||
Chrome DevTools allows you to override API responses and HTTP headers directly in the browser - this is a great feature for testing, debugging, and prototyping without modifying the backend. | ||
|
||
You can: | ||
|
||
- **Mock API responses**: Replace live API data with custom JSON or other content. | ||
- **Modify HTTP headers**: Adjust headers like CORS, Content-Type, or authentication tokens to mimic different scenarios. | ||
|
||
You just need to enable "Local Overrides" in DevTools and edit the response or headers for the network requests you want to tweak. | ||
|
||
More details here: [Chrome DevTools Overrides](https://developer.chrome.com/docs/devtools/overrides) |