[GH-ISSUE #151] API not returning JSON in version 2rc #149

Closed
opened 2026-02-27 15:55:18 +03:00 by kerem · 2 comments
Owner

Originally created by @bc2m on GitHub (May 2, 2018).
Original GitHub issue: https://github.com/RD17/ambar/issues/151

We did a clean install of the new version 2.0rc. Now the REST API is returning html and not JSON. Can anyone please advise how to access the REST API in the latest release? It used to be like:

192.168.0.46/api/search?query=

Can someone please help / advise?

Barry

Originally created by @bc2m on GitHub (May 2, 2018). Original GitHub issue: https://github.com/RD17/ambar/issues/151 We did a clean install of the new version 2.0rc. Now the REST API is returning html and not JSON. Can anyone please advise how to access the REST API in the latest release? It used to be like: 192.168.0.46/api/search?query= Can someone please help / advise? Barry
kerem closed this issue 2026-02-27 15:55:18 +03:00
Author
Owner

@bc2m commented on GitHub (May 2, 2018):

The API for JSON is on port 8080 now. So http://192.168.0.46:8080/api/search?query= works and returns JSON

<!-- gh-comment-id:385980553 --> @bc2m commented on GitHub (May 2, 2018): The API for JSON is on port 8080 now. So http://192.168.0.46:8080/api/search?query= works and returns JSON
Author
Owner

@syonip commented on GitHub (Jan 11, 2019):

Maybe document this somewhere?

<!-- gh-comment-id:453427781 --> @syonip commented on GitHub (Jan 11, 2019): Maybe document this somewhere?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ambar#149
No description provided.