Skip to content

Feature Request: support replacing fields with specified fake values #19

@Roger-luo

Description

@Roger-luo

Thanks for making the package! this makes it a lot easier for testing HTTP requests indeed. But I find that I'm not able to hide credentials that are not inside the header, my use case is the IBMQClient.jl, where I will need to use my user token to get an access token from the REST API, thus the response body will contain this credential, I wish to replace that
with a fake credential so that I can test it in CI, I currently have to do it manually since I didn't find any options to do so.

I tried to implement it myself, but due to my limited knowledge of the implementation, I didn't have any luck. it would be nice if this package could support this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions