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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Connect HTTP GET link ...
Power Automate
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard