Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
ServerRequest Help Please |
Wed, Aug 22 2012 2:31 PM | Permanent Link |
mddmx | I am trying to communicate with the ServerRequest object to a PHP page. My parameters are received just fine, however RequestContent is always blank (empty).
I have installed Fiddler2 and see the Get Request and the headers, however the TEXT is empty. Can anyone shed some light onto what I might be doing incorrectly ? ServerRequest1.RequestContent.Clear; ServerRequest1.RequestContent.Add('The big gray man jumped over the lazy dog'); ServerRequest1.RequestHeaders.Clear; ServerRequest1.RequestHeaders.NameValueSeparator := '='; ServerRequest1.RequestHeaders.Add('Content-Type = text/xml; charset=utf-8'); ServerRequest1.RequestHeaders.Add('Content-Length =' + IntToStr(Length(ServerRequest1.RequestContent.Text))); ServerRequest1.Execute; Thank you ... |
Wed, Aug 22 2012 3:05 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | << I am trying to communicate with the ServerRequest object to a PHP page.
My parameters are received just fine, however RequestContent is always blank (empty). I have installed Fiddler2 and see the Get Request and the headers, however the TEXT is empty. >> Your issue is with your name-value separator - you need to use the colon instead (the default): ServerRequest1.RequestContent.Clear; ServerRequest1.RequestContent.Add('The big gray man jumped over the lazy dog'); ServerRequest1.RequestHeaders.Clear; ServerRequest1.RequestHeaders.Add('Content-Type: text/xml; charset=utf-8'); ServerRequest1.RequestHeaders.Add('Content-Length:' + IntToStr(Length(ServerRequest1.RequestContent.Text))); ServerRequest1.Execute; If you have any other questions, please let me know. Tim Young Elevate Software www.elevatesoft.com |
Wed, Aug 22 2012 4:23 PM | Permanent Link |
mddmx | That's it ! Thank you very much.
btw .... I have been waiting for a product like this for a long time. I like the road you are on. "Tim Young [Elevate Software]" wrote: Your issue is with your name-value separator - you need to use the colon instead (the default): |
Wed, Aug 22 2012 8:03 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | << btw .... I have been waiting for a product like this for a long time. I like the road you are on. >> Thanks, I'm glad that you like it. If you have any other questions, please let me know. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, December 10, 2024 at 04:57 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |