Skip to content

A Chrome extension to mock API responses, by having your requests intercepted and responded with your chosen response.

License

Notifications You must be signed in to change notification settings

captain-woof/chirag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chirag logo

Introduction

Chirag is a Chrome extension to mock API responses, by having your requests intercepted and responded with your chosen response.

Install

There are three ways to get Chirag running in your browser.

From Chrome Web Store

In progress.

Building from source

To build from source, clone the repository, and run:

npm install && npm run build

Then enable "Developer Mode" in Extensions page, and load the dist folder as an unpacked extension.

Using release package

Download the chirag.zip from releases, extract out the extension package, then drop it in your browser to install it.

Usage

  1. Just add a URL you wanna mock a response for, add the corresponding response body, headers, etc.
  2. Turn on the extension, and enable the added intercept.
  3. Then have your current webpage make a request to the URL you just added.

Demo

Chirag.demo.mp4

Try it out here