Automating download of a fetch api in a website

At API Reference · HTTP.jl, it says that a Dict for a body gets

serialized as the “application/x-www-form-urlencoded” content type

You want your body serialized as XML. There are a couple of Julia XML packages you can find, or format it yourself.

Thanks Jeff. I have managed to make it work with simple parsing of strings, but I’ll try to get it working the proper way as well.