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

make stop_for_status(), etc. pipeable? #278

Closed
ijlyttle opened this Issue Sep 19, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@ijlyttle

ijlyttle commented Sep 19, 2015

somewhat related to #277, but different enough.

If a successful call to stop_for_status() returned the response object, could you pipe all the way through? For example:

result <-
  GET(...) %>%
  stop_for_status() %>%
  content(as = "text") %>%
  jsonlite::fromJSON(...)

@hadley hadley closed this in 6f3af0a Dec 17, 2015

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