bzilch
1
I’m using the HTTP Request Activity to request a JSON from the following EndPoint: “https://www.fema.gov/api/open/v1/DisasterDeclarationsSummaries?$filter=declarationDate gt ‘2019-01-01’”
It works fine. The problem is I want to replace the “2019-01-01” with a URL Segement. I’ve tried the following:
“https://www.fema.gov/api/open/v1/DisasterDeclarationsSummaries?$filter=declarationDate gt ‘{decdate}’” with decdate set as “2019-01-01”
and
“https://www.fema.gov/api/open/v1/DisasterDeclarationsSummaries?$filter=declarationDate gt {decdate}” with decdate set as “‘2019-01-01’”
Neither returns the json. Is there something I’m missing?
HareeshMR
(Hareesh Madasi)
2
Have you tried passing it as a string variable? As, store the URL in a variable and then try appending or concatenating both the variables you have >
bzilch
3
That worked, although I’m still curious as to why the URLSegment way doesn’t work.
HareeshMR
(Hareesh Madasi)
4
May be uipath studio doesn’t recognise the url segments as postman did @bzilch… I hope so
system
(system)
Closed
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.