Board index » delphi » Send a stream in a (indy) HTTP request?
David Bezjak
![]() Delphi Developer |
Tue, 13 May 2003 03:00:00 GMT
|
David Bezjak
![]() Delphi Developer |
Tue, 13 May 2003 03:00:00 GMT
Send a stream in a (indy) HTTP request?
question:
Is it possible to send a binary stream to my CGI/ISAPI ? Something like uploading a file thru a stream. I know it's possible to send /David |
Doychin Bondzhe
![]() Delphi Developer |
Tue, 13 May 2003 03:00:00 GMT
Re:Send a stream in a (indy) HTTP request?Yes, You have to organize this as POST request to your CGI. Doychin Quote"David Bezjak" <davi...@sigma.se> wrote in message Quote> question: |
David Bezja
![]() Delphi Developer |
Tue, 13 May 2003 03:00:00 GMT
Re:Send a stream in a (indy) HTTP request?You probably mean something like: IdHTTP1.post('http://127.0.0.1/scripts/project1.exe/send', bstream, Where bstream and cstream are TStringStream in my test case. How do i get /David QuoteDoychin Bondzhev <doic...@5group.com> wrote in message Quote> Yes, You have to organize this as POST request to your CGI. |
Doychin Bondzhe
![]() Delphi Developer |
Wed, 14 May 2003 03:00:00 GMT
Re:Send a stream in a (indy) HTTP request?The post stream have to look like: -----------------------------7cf87224d2020a abc 123 Submit In the Request.ContentType you have to put this In the normal case the number(7cf87224d2020a) is different all the time but Doychin Quote"David Bezjak" <davi...@sigma.se> wrote in message Quote> You probably mean something like: |
David Bezja
![]() Delphi Developer |
Fri, 23 May 2003 03:00:00 GMT
Re:Send a stream in a (indy) HTTP request?I forgot to say thank you, but i found a working example at http://www.matlus.com Anyway, thank you! /David QuoteDoychin Bondzhev <doic...@5group.com> wrote in message Quote> The post stream have to look like: - Hide quoted text - - Show quoted text - Quote
|
1. Send a stream in a (indy) HTTP request?
2. Sending a HTTP request. Using Indy
3. Sending an Indy HTTP request
4. Problem with sending a stream to cgi with post and INDY http
5. Sending stream from HTTP client to HTTP server.
6. TidHttp + sending Http-Request with Cookie?
9. IdHTTP http get hangs after HTTPS get request (Indy 8.0.23 TeamIndy check this)