REST API does not return valid JSON #4393
-
Hi, In particular since v2025.1.0 and #4020 partial support for a REST API has been added. In my case:
More precisely what is problematic:
Let me know if you want me to create an issue 🙂 In any case, thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Hello, Thank you for the feedback on the REST APIs, it is much appreciated. Here are my answers:
Could it be possible that it is your
Could it be possible that it is your Regards, |
Beta Was this translation helpful? Give feedback.
-
@AxelRICHARD On the endpoint |
Beta Was this translation helpful? Give feedback.
Hello,
Thank you for the feedback on the REST APIs, it is much appreciated.
Here are my answers:
Could it be possible that it is your
import requests; print(requests.get("http://localhost:8080/api/rest/projects").json()
that produces the simple quotes?With postman, I get double quotes.
Could it be possible that it is your
import requests; print(requests.get("http://localhost:8080/api/rest/projects").json()
that produces thisNone
value?With postman, I get
null
instead of"None"
.Regards,