Integrations: Passing parameters in the body of a HTTP POST request

I am attempting to set up an Integration in Appian (v18.2) to retrieve data using an HTTP POST request.  The parameters are being sent as Text in the body of the request which is set as Multipart Form Data.  The request completes without error, but the no data is returned.  This is the same result obtained when the request is sent without any parameters.  It seems as the passed parameters are not being recognized.

When the request is set up the same way in Postman, the expected data is returned.

Any ideas as to why this is not working / how to get this working in Appian?

 

Regards

  Discussion posts and replies are publicly visible

Parents
  • When looking at the HTTP requests generated by Postman and the Appian integration, the differences are as follows:

    1) The multipart/form-data boundaries are different:

    Postman: ----WebKitFormBoundary7MA4YWxkTrZu0gW
    Appian: TnQmfygKfP801A_kE1bGL-7YAFk_k6gl9


    2) Appian adds the following to the header:

    Content-Length: 1278
    Connection: Keep-Alive
    User-Agent: Appian
    Accept-Encoding: gzip,deflate


    3) Appian adds the following for each parameter passed in the body of the request:

    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
Reply
  • When looking at the HTTP requests generated by Postman and the Appian integration, the differences are as follows:

    1) The multipart/form-data boundaries are different:

    Postman: ----WebKitFormBoundary7MA4YWxkTrZu0gW
    Appian: TnQmfygKfP801A_kE1bGL-7YAFk_k6gl9


    2) Appian adds the following to the header:

    Content-Length: 1278
    Connection: Keep-Alive
    User-Agent: Appian
    Accept-Encoding: gzip,deflate


    3) Appian adds the following for each parameter passed in the body of the request:

    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
Children
No Data