Thanks for pointing this out, Nico. This one should have been documented indeed, or changed with the next major release. 



Nico Verwer (Rakensi) <nverwer@rakensi.com> schrieb am Mi., 20. Nov. 2024, 08:46:
Dear Rémy,

A particular change in BaseX 11.4 that took me a while to find, is a
change in http:send-request. So this is only relevant if you use that
function.
If you send a JSON body, previously you had to serialize it, like:

       http:send-request(
         <http:request method='put'>
           <http:body media-type='application/json'/>
         </http:request>,
         $url,
         serialize($body-map, map{'method':'json'})
       )

This has changed, and the right way to call this is now:

       http:send-request(
         <http:request method='put'>
           <http:body media-type='application/json'/>
         </http:request>,
         $url,
         $body-map
       )

If you use http:send-request, I hope this will save you a bit of time.

Best regards,
Nico Verwer