Are you sure you need to use multipart/form-data? Per the documentation,
When you submit data using args , Integration
Server automatically sets the value of the Content-
Type header to application/x-www-formurlencoded.
This sends the parameters as a query string in the URL for the GET method and in the HTTP body for the POST method. This should be sufficient for typical text arguments.
The doc continues:
If you want to explicitly specify a different Content-
Type value, you must submit the value using the
string or bytes variable.
The reason to use multipart/form-data is if the data of one or more of the fields contains lots of non-text data. To use that Content-Type, you’ll need to do more work to create the payload yourself with the pub.mime services.
Do the 2 fields contain simple text values? If so, use the application/x-www-formurlencoded approach. If not, review the pub.mime services.
#webMethods#AG-Designer#flow-services