How to access REST Api via Browser

(Jürgen) #1

Hi,

I want to access some liste via REST Api,

e.g. I want a list of all reports.
It works find via CLI (thruk rest /csv/thruk/reports)

but how can I get it via a browser? whats the URL?
my URL in my browser looks like: https:///monitoring/thruk/#cgi-bin/reports2.cgi#my

I want to use the same functionality like in the CLI.
I’ve tried: https:///monitoring/thruk/r/thruk/reports - NOK
https:///monitoring/thruk/r/reports - NOK

but a listing of all available rest urls via https:///monitoring/thruk/r/ works fine.

thx
juergen

(Sven Nierlein) #2

Thats the right one: