[SOLVED] UHTTP and raw data

Author: i2stiller@gmx.de (istiller)

Hi freaks

I'm facing the challenge to program a connector to a REST-API.
First steps are done and I can send and receive data :-)
 
BUT ...
But now I try to get (let's say) a PDF-file by a GET-call and then dump it on filesystem.
The answers on first sight looks okay but then I discover a few missing characters in the created file :-( This chararacters are e.g 0x00, 0x01 ... etc
How to GET a raw data string via UHTTP and the write this to disk?

Ingo

PS: No, I can't modify the REST-API and it's behavior :-)

2 Comments

  1. Hi Ingo, You should find the answer here: [SOLVED] UHTTP Raw data Hope this helps. Daniel


    Author: diseli (daniel.iseli@uniface.com)
  2. diseli said Hi Ingo, You should find the answer here: [SOLVED] UHTTP Raw data Hope this helps. Daniel  

    Thanks, it does work :-) Ingo


    Author: istiller (i2stiller@gmx.de)