2 Replies Latest reply on Aug 5, 2015 9:06 AM by vishalvai RSS
    vishalvai Explorer

    How to post an image from ThingWorx to an external web server using REST API?

    Hi All,

     

    I am trying to post/send an image which is stored as a property in TW to an external web server using Rest API. I have used POSTImage snippet to try this out. But  I am getting the below error

    Wrapped java.lang.Exception: Unable To Convert From [B to JSON Cause: Unable To Convert From [B to JSON


    I am not very sure if  PostImage snippet is actually meant to meet the above requirement.

     

    Is there any other way?

     

     

     

    Thanks and Regards,

    Vishal Vaidya