Re: [Mojolicious] curl works, Mojo::UserAgent doesn't

2020-05-15 Thread lackhoff via Mojolicious
Am 14.05.2020 um 05:08 schrieb Stefan Adams: > I'm certain you'll be able to accomplish this with M::UA. Can you share Just to reduce complexity I changed everything to plain HTTP, so no SSL, keys or certificates. > what the HTML error produced is? It is not really a normal error page, just a pa

Re: [Mojolicious] curl works, Mojo::UserAgent doesn't

2020-05-13 Thread Stefan Adams
I'm certain you'll be able to accomplish this with M::UA. Can you share what the HTML error produced is? Can you share the output that you are comparing that you are noticing is so similar between curl and M::UA? You're using -v for curl. Also set the MOJO_CLIENT_DEBUG env variable to 1. See how

[Mojolicious] curl works, Mojo::UserAgent doesn't

2020-05-13 Thread 'Michael Lackhoff' via Mojolicious
I had quite a bit of success recently using Mojo::UserAgent so I tried to replace a curl command to do a backup of my Fritz.box router with M::U. Here is the curl command: curl -s -k -o $OUT --form sid=$SID --form ImportExportPassword=$BAKPWD \ --form ConfigExport= http://fritz.box/cgi-bi