Attachment Handling through WSO2 EI 6.1.1 in API

后端 未结 2 1346
耶瑟儿~
耶瑟儿~ 2020-12-12 07:45

Use Case:

  • A REST API will be defined to handle the files sent by clients called (Postman REST Client) as attachment.
  • The files sent as
相关标签:
2条回答
  • 2020-12-12 07:55

    Mock zoho api (use any simple python, pip install web server) and dump request came from ESB and see what is missing in request. Some of the header most probably missing, Content-Disposition Content-Type

    API states "name" parameter is mandatory.

    0 讨论(0)
  • 2020-12-12 08:14

    Looking at your code you are not doing anything with the incoming payload. so why are you trying to mediate the payload? just pass through it.

    0 讨论(0)
提交回复
热议问题