Sidebar

Making Requests via qie.callRESTWebService()

0 votes
140 views
asked May 9 by rich-c-2789 (17,490 points)
A listing of examples for making request in QIE using qie.callRESTWebService().

1 Answer

0 votes

The categories below list KB articles with examples of calling qie.callRESTWebService():

Adding Query Parameters to a Request:

How can I add query string parameters to a REST WS call?

 

Adding Headers to a Request:

How do I add custom http headers to a rest web service call?

How do I force the content-type http header on a call when no content is sent?

 

Uploading:

 

String Based (small files):

Binary Content:

How can I send a binary file in a webservice call?

Multipart/form-data, multipart/related, and MTOM:

How do a make a multipart/form-data post to a webservice endpoint

How to attach pdf file into RESTful Webservice for Secure emailing.

See second answer:

How can I send a binary file in a webservice call?

 

Stream Based (large files):

Single file as entire content:

Uploading a Text File via Stream with qie.callRESTWebService().

Uploading an image or binary File via Stream with qie.callRESTWebService()

Files in multipart messages:

Uploading a Image/Binary File via Stream with qie.callRESTWebService() as multipart/related request.

Uploading a Image/Binary File via Stream with qie.callRESTWebService() as multipart/form-data request.

 

Downloading:

Small files via returned result:

How do I download a PDF file via HTTP?

Large files via streamToFile:

How to stream large files or binary files to disk with qie.callRESTWebService() in mapping function?

 

Extracting MTOM Content From Response:

How do I parse an MTOM Response from a rest web service call?

 

See also:

Handling HTTP requests and responses

answered May 9 by rich-c-2789 (17,490 points)
edited May 13 by rich-c-2789
...