Skip to content

Support for handling all live requests? #80

Description

@tgabre

I'm using a single yaml file and Stubby to handle all live requests to an api.
Is there any support for Stubby to use a single file to dynamically handle all live requests, as such?

-  request:
      url: ^/.+
      method: [GET, POST]
   response:
      status: 302
      headers: 
         Location: https://liveEndpoint.com<% url[0] %>

As of right now, all requests going through Stubby are GETs despite the client app sending out GETs and POSTs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions