Hi Erel,
When posting the string, is there a limit to the size of the string? I get an error when trying to upload a ~300K jpg file. I'm encoding the bytes to 64 bits. If I post a small file 1 or 2k it works fine. Problem when I try to view the string in the log file is the post string gets truncated so I cannot see the entire sent http post.
I used the equivalent version of this library in my Android project and that works ok with jpgs. I'm now converting my app to iOS but stuck on this final bit. The code I'm using is pretty much the code you have in your example. What I can't do is show the actual post string as it's being truncated and besides it's just be a load of hex code.
Thanks
When posting the string, is there a limit to the size of the string? I get an error when trying to upload a ~300K jpg file. I'm encoding the bytes to 64 bits. If I post a small file 1 or 2k it works fine. Problem when I try to view the string in the log file is the post string gets truncated so I cannot see the entire sent http post.
I used the equivalent version of this library in my Android project and that works ok with jpgs. I'm now converting my app to iOS but stuck on this final bit. The code I'm using is pretty much the code you have in your example. What I can't do is show the actual post string as it's being truncated and besides it's just be a load of hex code.
Thanks