Loading ...
Sorry, an error occurred while loading the content.

1481Re: Sending an image using JSON

Expand Messages
  • Fredag_d13
    Mar 8, 2010
      To store binary data in a json string, you could use base64 or something similar. However it is more likely, that you should just post your binary data to the server without putting it into a json object.

      --- In json@yahoogroups.com, "farkmischer" <farkmischer@...> wrote:
      >
      > I am trying to figure out how to send an image from my hard drive to Tuzulo using their api which appears to use JSON (quoted below). I have figured out how to receive information about what images I have with them and their URLs but cannot figure out how to send an image. I have found lots of JSON examples but they all seem to show sending or receiving strings. Could someone give me a hint?
      >
      > Quoted From:
      > http://www.tuzulo.com/info/api
      >
      > Quote
      > Private API URLsThese URLs require private keys, used for management and extension. To protect each upload, the private key must be known (saved, bookmarked, etc.). With an account, this becomes transparent.
      >
      > http://www.tuzulo.com/add/<private-key>
      >
      > Extend collection.
      >
      > http://www.tuzulo.com/upload/<private-key>
      >
      > Manage collection.
      >
      > Public keys are meant to be shared while private keys are meant to be temporarily bookmarked if necessary. Bookmarking is unnecessary when you're a site member.
      > End Quote
      >
    • Show all 11 messages in this topic