Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Cherichoc-
Creator
Creator

trestrequest with two output flows that user can enter in URL

I need to create an API where a user can request from this number to that number as the dataset is huge.

eg, url http://0.0.0.0:8080/users/{from}/{to}

0683p000009MaDE.png

 

 

0683p000009Ma5H.png

 

And my tdbInput is 

0683p000009MaTp.png

Labels (5)
3 Replies
TRF
Champion II
Champion II

What's the question?
Cherichoc-
Creator
Creator
Author

I need to create an API where you can request device id from  a certain number to a certain number .
eg. from 1 till 10, then display all device info from 1 till 10. I need this to happen when you enter the api

url: http://users/{from}/{to}

      http:// users/1/10

expected output

devid --- name

1       ---- sam

2       ---- pat

10     --- rue

 

 

uzix
Creator
Creator

Hello @Cherichoc- ,

 

do you an issue with this ? 

 

setting the trestrequest - pic1

 

example flow - pic 2

 

javarow content . pic 3 

 

 

call log:

 

Address: http://localhost:8088/1/10
Encoding: ISO-8859-1
Http-Method: POST
Content-Type:
Headers: {Accept=[*/*], accept-encoding=[gzip, deflate, br], connection=[keep-alive], Content-Length=[0], Content-Type=[null], Host=[localhost:8088], User-Agent=[PostmanRuntime/7.26.1]}

 

logrow:

From:1
to:10
requestDataFrom:1
requestDataTo:10
.----+--.
|tLogRow_20|
|=---+-=|
|from|to|
|=---+-=|
|1 |10|

 

 

 


Capture.PNG
Capture2.PNG
Capture3.PNG