Llewelyn Griffiths Posted November 11, 2022 Share Posted November 11, 2022 Hello there! I'm wondering if it's possible to provide a body when making a JSON Import HTTP request, I can't find an entry field for a body but maybe I'm just looking in the wrong place. I've also looked in the documentation and can't find a mention to a request body, can you shed any light on this? Want to know more? Link to comment Share on other sites More sharing options...
Sara Posted November 15, 2022 Share Posted November 15, 2022 Hello Llewelyn, here is the procedure to successfully add a body: Create (externally) a json file which contains the body you want to add. Import the file through an Import from Json File (json1) task. Add an Export to Json File (jsonexport1) task, link it to the existing import task and open it to: Configure the required HTTP options. Add the required response file path. Save and compute the task. Add a second Import from Json File (json2) task to the flow and configure it so that it imports the json file you have exported previously. Configure the above-mentioned (json2) task’s priority and set it at -9999, to really import what has been just exported. To know more about setting priorities on the Factory, refer to this page: Prioritizing Tasks in the Factory (rulex.ai) I am attaching a screenshot with the expected flow. Would you like to share with us more information about this issue? Remember that everything posted on this community is PUBLIC, if you're about to share sensitive values please contact us via email at: community@rulex.ai Best, Sara 1 Want to know more? Link to comment Share on other sites More sharing options...
Llewelyn Griffiths Posted November 17, 2022 Author Share Posted November 17, 2022 Thank you Sara, I will give it a try! 1 Want to know more? Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.