web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create REST API reques...
Power Automate
Answered

Create REST API request using Html component

(0) ShareShare
ReportReport
Posted on by 331

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 ...

 

forstera_0-1686989820475.png

Thanks to all for your help

Kind Regards

 

Categories:
I have the same question (0)
  • Verified answer
    schwibach Profile Picture
    2 Moderator on at

    You need a few things first.
    Have them give you a platform application with the endpoints you need.

    Once you set up the platform application you get a client id and secret to make the API-call to the authentication server with.

    That gives you a bearer token to call the endpoint you actually want.

  • Verified answer
    forstera Profile Picture
    331 on at

    Ok I take good note of it 🙂 

    Thanks for your help an have a nice day

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard