Skip to content

Make redirection following optionnal #104

@francois-dorval

Description

@francois-dorval

Hello,
I'm trying to test an authentication api that relies on a redirection system. It replies

HTTP/1.1 302 Found
Location: https://client.example.com/example?code=SplxlOBeZQQYbYS6WxSbIA

I'd like to get the "code" but stoplight follows the redirection and I get a 200 from https://client.example.com (without the data I want) instead of the 302.

Is there a way to make redirection following optionnal in stoplight/prism?

Thanks

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