Calling httpPost

Comments

2 comments

  • Avatar
    wojciechka

    Could you provide us with more details on what you want to achieve? It is possible to use actions such as <while> to create a loop. For example: <setInstallerVariable> <name>while_finished</name> <value>0</value> </setInstallerVariable> <while> <actionList> <httpPost> <!-- ... --> </httpPost> <!-- perform some checks - set while_finished to 1 to exit loop --> </actionList> <conditionRuleList> <isFalse> <value>${while_finished}</value> </isFalse> </conditionRuleList> </while>

    You can find out more about the action in While Action section of InstallBuilder user guide.

    It is also possible to use <break> action to exit a loop. This action is documented in Break section of InstallBuilder user guide.

  • Avatar
    kevin_jenkins_autodesk

    yeah i thought about the <while> situation but based on the data being passed to the post a loop wouldnt really work due to the values being used in the <httppost>. Im just trying to make approx 10 consecutive calls to the post with predetermined data. The 1st call responds as intended but the subsequent ones dont. Or do i have to use the loop to achieve this functionality?

Please sign in to leave a comment.