Sending Binary data or File on Connector

  • Vasileios Thanasias
    Participant
      Has successfully completed the online course Basics (100)
    2 years, 5 months ago #35219

    Hello, is it possible to send binary data on a connector?

    I see there are several data types, should I use Any data type for binary?

    Jennifer Häfner
    Moderator
      Has successfully completed the online course Intermediate (200)
      Has successfully completed the online course Advanced (300)
      Has successfully completed the online course Basics (100)
      Has successfully completed the online course Advanced (310)
      Has successfully completed the online course Advanced (320)
      Has successfully completed the Intermediate Certification
      Has successfully completed the Advanced Certification
    2 years, 5 months ago #35246
    Up
    1
    Down
    ::

    Hi Vasileios,

    Can you specify in more detail what is expected by this API call? What are the parameters, of which type, etc.

    If the API expects data of type ‘multipart’, you unfortunately cannot use the Simplifier REST connector, as multipart is not yet supported. You can read about that in this forum post: https://community.simplifier.io/forums/topic/file-object-not-showing-in-postbody-of-rest-connector/

    Vasileios Thanasias
    Participant
      Has successfully completed the online course Basics (100)
    2 years, 5 months ago #35240
    Up
    0
    Down
    ::

    Also I would like to send a JavaScript File object. Should I use also the Any data type? I see that the called API didn’t receive the file, I am wondering if it is an issue with my request or the server.

    Vasileios Thanasias
    Participant
      Has successfully completed the online course Basics (100)
    2 years, 5 months ago #35247
    Up
    0
    Down
    ::

    Hi Jennifer,

    It is expect a mutlipart file upload, I have talked also with your colleague and we will implement it via cilent-side script…

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.