How to change the get URL in a query with ION workflow

Ron Meijsen
Ron Meijsen Member, Infor Partner Posts: 8

I have to call a test query to lookup address data

the syntax is /lookup/postcode/number but when I use input parameters I get

postcode/lookup?postcode=%3D6545CA&number=%3D29 which would be normal but the test website does not support that

anyone knows how to change that?

Ron

Best Answer

  • Sadik Shaik
    Sadik Shaik Member, Staff Posts: 1
    Answer ✓

    Ron Meijsen

    if you want to pass postcode and number as path parameters then postcode and number should be defined as input parameter of type path in your OAS (swagger) documentation. The url would look like /lookup/{postcode}/{number}

    In ION workflow you could see something similar as

Answers