I've only started playing with Azure Logic Apps and already bumped into some problem.
The app that I'm trying to develop has a fairly simple logic: call the API, get the data and then save it to the Blob storage.
It works perfectly fine for a single request (https://example.com/rest/businessObject/objectName/details?fields=abc,dde
). However, I would like to make multiple get requests to various objects getting different fields, i.e. change the objectName in the URI and fields values in the get request. Is it possible to parametrize the call using something like JSON object, iterate over it and make different requests in a single app instead of creating multiple apps for each request? And if it's possible then how?
Update
I've used JSON parsing (big thanks to the author of response in this thread). Now my app looks like this:
Seems to work fine:
The problem that I have now however is different - I can't save the body of the response as blob as I can't access it in the create blob. The only variable available for Blob content is 'Current item' which, of course, is a chunk of JSON used in the for loop. Any ideas if it's possible to save it to the storage and how to get it done?