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 / Connect HTTP GET link ...
Power Automate
Answered

Connect HTTP GET link with dynamics dates

(0) ShareShare
ReportReport
Posted on by 480

Hi Team,

I have a below HTTP GET link:

https://abc.xyz.io/api/sync/ems/powerbi?date_start="&startDateText&"&date_end="&endDateText, [Headers=[Token="7901d563-a86f-4031-8900-7e0378ae"]]))

where the startDate and the endDate need to be put dynamically in the HTTP card. Please help.

Categories:
I have the same question (0)
  • Verified answer
    nitishsh91 Profile Picture
    200 on at

    Hi @cyberco01 

     

    You can use the Uri.BuildQueryString function to dynamically construct the query string with the start and end date.

    You can create two variables startDateText and endDateText and pass them in the function:

    Copy code
    let
    startDateText = "2021-01-01",
    endDateText = "2021-01-31",
    url = "https://abc.xyz.io/api/sync/ems/powerbi?date_start=" & Uri.EscapeDataString(startDateText) & "&date_end=" & Uri.EscapeDataString(endDateText),
    response = Json.Document(Web.Contents(url,[Headers=[Token="7901d563-a86f-4031-8900-7e0378ae"]]))
    in
    response

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard