File upload encoding RRS feed

  • Question

  • Hi,

    I am uploading files through my application to HV and storing the content to otherdata after doing a base64 encoding. I can make the call for the file and it returns the same base64 encoded string to me which I can decode. However, when I try to download that file through healthvault site, I see it throws out the encoded string and not the decoded version. 

    I did another experiment uploading the same file in healthvault interface and getting it back there and it works fine. This file comes back exactly the same to my app as the one I uploaded through the app does.

    I am setting content-encoding as base64 and content-type as  image/png. What else can I do to make sure the right file gets downloaded through healthvault interface as well.




    Friday, May 8, 2015 7:30 PM

All replies

  • What api call are you making when uploading the file to HealthVault?


    Tuesday, June 2, 2015 4:51 PM