Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to send POST data to a webserver?
#20
(05-04-2018, 12:34 PM)BosseB Wrote: It looks like the only difference is that Indy adds
Code:
Content-Transfer-Encoding: binary
just before the file data whereas FireFox does not.


(05-07-2018, 06:42 PM)rlebeau Wrote: As I already commented earlier, that should not affect the upload.  But I did show you exactly how to remove that header if necessary.
As I showed you on May 3rd:
Code:
Src.AddFile('update', FileName).ContentTransfer := '';

OK, I just added the final part of the Src.AddFile command as shown above.
And it resulted in a complete transfer and firmware update + IoT reboot!
So this was it!
Now working!
Thank you for your patience and advice!
Reply


Messages In This Thread
How to send POST data to a webserver? - by BosseB - 04-30-2018, 09:56 PM
RE: How to send POST data to a webserver? - by BosseB - 05-10-2018, 09:45 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)