I am fairly new to PowerBasic, so please bear with me.
I am retrieving xml data from a Web Server (this works fine for large strings), but when I try to use the same GET command, I can only pass to the server a max of 2K of data, but I need to be able to pass several MB. I think I need to use POST, but I am getting no where.
I have a code example as an attachment. FromURL (works) and ToURL (works up to 2K) both call GetXMLURL, but pass different strings. That may be my problem. maybe I need a PostXMLURL?
FromURL works well getting any size xml string from the server, which I will call "myWebServer.com". I use GetChanges... and call a function GetXMLURL.
But when I want to write a string of XML data back to the server using SetChanges... I am limited to only 2K in size.
I think i need to use a POST rather than the GET (in GetXMLURL)
Can anyone help me use a POST rather than GET? Or should I use SOAP?
Thanks
Doug Rawdon
I am retrieving xml data from a Web Server (this works fine for large strings), but when I try to use the same GET command, I can only pass to the server a max of 2K of data, but I need to be able to pass several MB. I think I need to use POST, but I am getting no where.
I have a code example as an attachment. FromURL (works) and ToURL (works up to 2K) both call GetXMLURL, but pass different strings. That may be my problem. maybe I need a PostXMLURL?
FromURL works well getting any size xml string from the server, which I will call "myWebServer.com". I use GetChanges... and call a function GetXMLURL.
But when I want to write a string of XML data back to the server using SetChanges... I am limited to only 2K in size.
I think i need to use a POST rather than the GET (in GetXMLURL)
Can anyone help me use a POST rather than GET? Or should I use SOAP?
Thanks
Doug Rawdon
Comment