Hello all,
Sorry if my question is silly but I'm very new to the Power automate world and REST API requests, too 🙂
So, I work for a school and I need to retrieve informations about classes, timetables, etc from an external application.
According to the documentation I got, the general request is the following :
Service-URL: http(s)://<SERVER>/WebUntis/jsonrpc.do
requests must use POST
Content-Type should be set to text/plain or application/json
An API request has the general format
{"id":"ID","method":"METHOD NAME","params":{PARAMS},"jsonrpc":"2.0"}
The first thing I've to make is the authentication which schould be like this :
1) Authentication
Authenticate the given user and start a session
method name authenticate
right -
mandatory parameter: ?school=SCHULNAME
{"id":"ID","method":"authenticate","params":{"user":"ANDROID",
"password":"PASSWORD", "client":"CLIENT"},"jsonrpc":"2.0"}
The parameter CLIENT is a unique identifier for the client app. The parameter client will be
mandatory in the future
The problem I've creating the request using the html component is where do have I to introducte these differents informations. In other words, how can I know what is considered as part of the header, requests, etc ..
I made the following but I'm absolutely not sure if it's correct ...

Thanks to all for your help
Kind Regards