Official Content

The cURL Inspector Wizard, located under Tools > Application Integration, allows you to create a Procedure object and the variables required to emulate a specific cURL script using GeneXus code.

Step 1:

Enter a Name, Description, and a valid cURL script as shown below:

curl -k -i -X POST -H "Content-Type: text/xml" -H "SOAPAction: \"\"" --data-binary @request3.xml http://SERVER/BASEURL/resource2   

It looks as follows:

Curl inspector Step 1

Optionally, you can indicate a folder where the object will be stored in the KB.

Step 2:

After confirming the dialog, a Procedure object will be created:

Curl inspector Step 2

For further information on how to consume a service, see: Consuming web services in GeneXus

Availability

Since GeneXus 17 Upgrade 6.



Last update: November 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant