Integration Server 10.3 | Flat File Schema Developer's Guide | Sending and Receiving Flat Files | Submitting a Flat File to Integration Server via HTTP
 
Submitting a Flat File to Integration Server via HTTP
 
Building a Client that Posts a Flat File to a Service
A client can post a flat file to a service via HTTP. To use this approach, you must have a client that can do the following:
*Send a string of data (a flat file) to the Integration Server using the HTTP POST method.
–AND–
*Set the value of the Content–Type request–header field to “application/x–wmflatfile.”
When the Integration Server receives an HTTP POST request where Content–Type is application/x–wmflatfile, it passes the body of the request as an InputStream to the service specified in the request’s URL. Because most browsers do not allow you to modify the Content–Type header field, they are not suitable clients for this type of submission. Clients that you might use to submit a flat file in this manner include PERL scripts (which allow you to build and issue HTTP requests) or the Integration Server service, pub.client:http.