You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the username/pwd Cushion implementation suggested in the docs, I get a 401 Authentication Error from the URL I am trying to access when I ping it. It looks like this can be fixed through adding argument labels to the function.
Session Info
# function that DOES NOT work and produces authentication error laterping<-function(cushion, as='list', ...) {
check_cushion(cushion)
sofa_GET(cushion$make_url(), as=as, args=NULL, cushion$get_headers(),
cushion$get_auth(), ...)
}
# function that does not produce authentication errorping<-function(cushion, as='list', ...) {
check_cushion(cushion)
sofa_GET(cushion$make_url(), as=as, args=NULL, headers=cushion$get_headers(),
auth=cushion$get_auth(), ...)
The text was updated successfully, but these errors were encountered:
sofa_GET args param had changed to query, using query now
explicitly pass authentication bits to auth param in sofa_GET
put guts of ping into ping method on Cushion class - ping now calls cushion ping method
Using the username/pwd Cushion implementation suggested in the docs, I get a 401 Authentication Error from the URL I am trying to access when I ping it. It looks like this can be fixed through adding argument labels to the function.
Session Info
The text was updated successfully, but these errors were encountered: