- Posts: 68
- Thank you received: 7
Ask the community, share ideas, and connect with other LimeSurvey users!
devtools::install_github("Jan-E/limer", force = TRUE)
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
body.json = list(method = "get_session_key", id = 1, params = list(username = getOption('lime_username'), password = getOption('lime_password'))) r <- POST(getOption('lime_api'), content_type_json(), body = jsonlite::toJSON(body.json, auto_unbox = TRUE)) xml <- content(r, encoding="utf-8") rvest::html_text(xml)
500: Internal Server Error call_user_func_array(): Argument #1 ($callback) must be a valid callback, second array member is not a valid method
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
btw content is httr::content()
Please Log in to join the conversation.
Seems to be a PHP issue.My hypothesis is - RPC does not return JSON but an HTML error page that limer has no idea about as it expects only a JSON string
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.