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

can't get query string #27

Closed
yalishizhude opened this issue Apr 8, 2016 · 3 comments
Closed

can't get query string #27

yalishizhude opened this issue Apr 8, 2016 · 3 comments

Comments

@yalishizhude
Copy link
Contributor

var obj = {id:1};
request.get('/a').query(obj).end();

In this situation,mock only has headers,body and cannot get the variable "obj",can support it?

@pictin
Copy link

pictin commented May 25, 2016

Same for me. Looks like code does not support superagent's query() at the moment.

@ra100
Copy link

ra100 commented Oct 5, 2016

I think this should be closed, issue has been already fixed.

@kmudrick
Copy link
Collaborator

kmudrick commented Oct 6, 2016

As of version 0.5.0, superagent-mocker should capture query params: #35

@tbranyen tbranyen closed this as completed Oct 6, 2016
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

5 participants