Thanks for your report on this.
We will take a look at it soon.
Best,
Oliver
From: ontobee...@googlegroups.com <ontobee...@googlegroups.com>
On Behalf Of M T
Sent: Thursday, May 4, 2023 12:10 PM
To: Ontobee-discuss <ontobee...@googlegroups.com>
Subject: Cannot get JSON format with SPARQL request
External Email - Use Caution
Hello,
When I do a httr:GET or httr:POST request, I am getting the content-type returned as a text/html. I have tried different ways to get it returned in json format, but no matter what I seem to not be able to.
I am confused, because this was working just fine a week ago. Has something changed on the server side?
R code that was working last week and no longer is:
x <- httr::GET(endpoint, body=list(query=SPARQL-query))
y <- httr::content(x, "text")
list <- jsonlite::fromJSON(y)
Thank you in advance for the help.
--
You received this message because you are subscribed to the Google Groups "Ontobee-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ontobee-discu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ontobee-discuss/fe2efdf5-f959-43cd-9fac-a7d15d934d6en%40googlegroups.com.
**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues