Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 566 Bytes

modify.rst

File metadata and controls

13 lines (9 loc) · 566 Bytes

Modify mode

Modify mode is similar to capture_mode, except it does not save the requests and responses. In Modify mode, Hoverfly will pass each request to a middleware executable before forwarding it to the destination. Responses will also be passed to middleware before being returned to the client.

You could use this mode to “man in the middle” your own requests and responses. For example, you could change the API key you are using to authenticate against a third-party API.