[fpc-pascal] fpweb and reading the contents of a request
Michael Van Canneyt
michael at freepascal.org
Mon Oct 17 16:11:21 CEST 2011
On Mon, 17 Oct 2011, Felipe Monteiro de Carvalho wrote:
> On Mon, Oct 17, 2011 at 4:01 PM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
>> ? AFAIK xhttprequest is never synchronous...
> It is synchronous if the third parameter of open is set to false:
> client . open(method, url, async, user, password)
> The asynchronous flag
> True when fetching is done asychronously. False when fetching is done
>> Did you properly encode the content ?
> What exactly do I need to do? Pass a header saying it is UTF-8?
> I am just sending simple text.
Ehm. I think that the problem is elsewhere. Content is only accepted with the POST method.
More information about the fpc-pascal