[REBOL] Re: POSTing to url
From: dhsunanda::gmail at: 12-Jul-2007 3:27
John:
> result: read/custom http://x.x.x.x/api/portal.php reduce ['post mold
> host ip category customer]
I would have thought this would give you the right format for the
URL (subject to the keywords being right) (It's the way I do it,
anyway):
target: http:...
parameters: rejoin ["host=" host "&ip=" ip "&cat=" category ....]
read/custom target compose [POST (parameters)]
If that fails, see what you get with:
read join target ["?" parameters]
You may need to escape some of the parameter values -- eg if your
customer names contain "=", "&" or space.
Is it possible you are being returned a HTML page that you need to
parse for usable content?
Sunanda