Hi,

Could there be an encoding issue with http:request post requests?
I send..
 let $r:=<http:request method='post' >
   <http:body media-type="application/x-www-form-urlencoded"
method="text">a=3&amp;b=4</http:body>
 </http:request>
return http:send-request($r,"http://posttestserver.com/post.php";)[2]

http://www.posttestserver.com/ reports the parameters as..

Post Params:
key: 'a' value: '3'
key: 'amp;b' value: '4'
Empty post body.

/Andy
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to