Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drakov doesn't handle optional URL parameters? #157

Open
jean opened this issue Mar 8, 2017 · 0 comments
Open

drakov doesn't handle optional URL parameters? #157

jean opened this issue Mar 8, 2017 · 0 comments

Comments

@jean
Copy link

jean commented Mar 8, 2017

For

## Members [/api/v1/members/{id}{?lastUpdated}]

+ Parameters

    + id (optional, string)
    + lastUpdated (optional, string) - Return members added/updated since this date
  • 200 OK http GET http://localhost:3000/api/v1/members/1
    drakov: [MATCHING] by url pattern: /api/v1/members/:id MATCHED
  • 404 Not Found http GET http://localhost:3000/api/v1/members
    drakov: [MATCHING] by url pattern: /api/v1/members/:id NOT_MATCHED

(The http GET lines are https://httpie.org/ invocations.)

Both work at https://app.apiary.io/

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

No branches or pull requests

1 participant