-
Notifications
You must be signed in to change notification settings - Fork 10
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
Testing GET Rest API with http://{domain}/ #1
Comments
Thanks! I see that With the new commit, your mock for that request would go in |
Thank you @nealrichardson, it works fine. Very useful package! |
Ok, merged that branch in and tagged a release: https://github.com/nealrichardson/httptest/releases/tag/1.1.2 Can't put it on CRAN just yet because the previous release was only a few days ago, but you can |
Hi,
I am not sure how to use
with_mock_API
against the full URL that containshttp(s)://{domain}
.Where the json files should be located in this case?
For example if I want to do something like this in my package:
Can I mock the response?
The text was updated successfully, but these errors were encountered: