API Connect

API Connect

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.


#API Connect
#Applicationintegration
#APIConnect
 View Only
Expand all | Collapse all

Api connect 2018.x - Is multipart/form-data supported for http requests?

  • 1.  Api connect 2018.x - Is multipart/form-data supported for http requests?

    Posted Thu July 16, 2020 07:44 PM

    Hi,

    Our team needs to process a .zip file that was sent in the body of an http request so API Connect can then send it to another endpoint. We know api connect supports multipart for zip files containing WSDL files. Our scenario does not involve any WSDL. It’s an http request. Is multipart/form-data supported for this scenario?



    #APIConnect
    #Support
    #SupportMigration


  • 2.  RE: Api connect 2018.x - Is multipart/form-data supported for http requests?
    Best Answer

    Posted Thu July 16, 2020 07:45 PM

    Multipart is not supported for post http requests in api connect. There is however a workaround of creating a custom parser detailed on the page below:                                            

    https://www.ibm.com/support/pages/support-web-form-api-connect-post-http-requests-applicationx-www-form-urlencoded-and-multipartform-data-content-types




    #APIConnect
    #Support
    #SupportMigration