IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

How to post JSON request with form-data in webMethods using pub.client.http?

  • 1.  How to post JSON request with form-data in webMethods using pub.client.http?

    Posted 06/28/23 02:16 AM

    Hello webMethods Experts,

    I have a requirement Sending JSON file as multipart/form-data via pub.client.http. This requirement is similar to the following Curl to send files

    CURL -X POST -F Testsqc=test -F testdata=@test.json http://localhost:8080/vq/testdata

    I set the below mime parameters,but I get the error “Missing request parameter, json”


    #webMethods-io-B2B
    #B2B-Integration
    #webMethods-cloud
    #webMethods-io-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: How to post JSON request with form-data in webMethods using pub.client.http?

    Posted 07/03/23 11:51 AM

    Can you add some screenshots of your parameters for http.client service and also the response of your service call? Please also include a sample json data.


    #webMethods-io-Integration
    #webMethods
    #webMethods-cloud
    #B2B-Integration
    #webMethods-io-B2B
    #Integration-Server-and-ESB