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

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”

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.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.