Forum Discussion
Hi @Soni37 , I am using REST GET to hit the url with parameters and get the response and load to table. so the restriction is to hit api for 1000 records per request
You can use Group By N snap to create a batch of requests before feeding it to REST Get snap.
Test_Expression_2023_06_22.slp (3.8 KB)
The response will look like this: In my case, I created a group of 8 records.
Let me know if it works. 🙂
- bojanvelevski3 years agoValued Contributor
Hi @srini.polimera,
You’re on the right track. $ should produce the data that you send in the body of the request, you just need to open an input view on the mapper.
Let me know if this helps.
Regards,
Bojan - JensDeveloper3 years agoContributor II
Hi @srini.polimera ,
I would create an ultra task of the pipeline and then do a POST on postman to give the content with it.
Example pipeline below with your data.
In postman use bearer token authentication woth the token from the task then use the endpoint in the task and paste the input inside body with json selected:
get_content_from_postman_2023_04_05 (1).slp (10.5 KB)If you are using a triggered task you can pass the input as query parameters because triggered is only with a get request (in my experience, wrong also possible with post check replies below) and access them through the pipeline parameter QUERY_STRING. Example below
get_content_from_postman_triggered_2023_04_05.slp (7.1 KB)
If someone knows a more efficient solution let me knowRegards
Jens
- bojanvelevski3 years agoValued Contributor
Hi @JensDeveloper,
I beg to differ.
Triggered task can be used with a POST method, by opening one input view and one output view.
Regards,
Bojan- JensDeveloper3 years agoContributor II
Hi @bojanvelevski ,
Wow thank you for correcting me, haven’t used this option yet, It will make my pipelines much better.
So this is the corrected pipeline with triggered task.
My apologies for misunderstanding.
get_content_from_postman_triggered_V1.0_2023_04_05.slp (3.8 KB)Regards
Jens
- srini_polimera3 years agoNew Contributor III
Thanks for quick response. Now I got it.
Related Content
- 6 months ago
- 11 months ago
- 2 years ago
- 4 years ago