Skip to content
This repository has been archived by the owner on Aug 6, 2019. It is now read-only.

Mocks with url parts that are parameterized fail #10

Open
emilesvt opened this issue Jun 12, 2014 · 1 comment
Open

Mocks with url parts that are parameterized fail #10

emilesvt opened this issue Jun 12, 2014 · 1 comment

Comments

@emilesvt
Copy link

For example:

Works:

<routes>
    <route type="get" path="accounts/12341234201/transactions?startDate={startDate}">transactions_12341234201_{startDate}.json</route>
</routes>

Does not:

<routes>
    <route type="get" path="accounts/{accountId}/transactions?startDate={startDate}">transactions_{accountId}_{startDate}.json</route>
</routes>
@wmbest2
Copy link
Contributor

wmbest2 commented Jun 12, 2014

This was as intended. I never got around to the parameterized routes, just query strings. Ill add it as an enhancement but welcome a pull request if you get to it before I get a chance.

Thanks @emilesvt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants