upload image with ticket doesn't open, broken file.

1 Comments

  • Bryan Flynn
    Comment actions Permalink

    Hi Karmous. I'm guessing you're using Google's Dart?? I'm not familiar with it, but looking at your code, know that the POST /api/v2/uploads.json API does not expect binary data to be transformed. It looks like you're encoding the binary data to UTF8 using the "utf8.encode" method. Try just uploading the file as-is.

    0

Please sign in to leave a comment.

Powered by Zendesk