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
fetch_json calls jsonlite::fromJSON which itself gets the URL using base::url which does a GET and not a PUT. So if this is the issue it is a bit cumbersome to change.
I did have a play and create a crrri:::fetch_json_PUT and modified jsonlite to have a fromJSON_PUT and it did then get past that error. Everything then worked but clearly this isn't a good long-term solution. A solution would be to not use fromJSON if a put is needed.
Hello,
I used to use crrri in the past and it worked well. Now I'm running a function written with it after some time and I get the following error:
cannot open URL 'http://localhost:9222/json/new': HTTP status was '405 Method Not Allowed'
My function is the following:
it is run like this:
I used it the last time successfully a couple of years ago
The text was updated successfully, but these errors were encountered: