curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: AW: AW: curl -d in powershell

From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Tue, 29 Mar 2022 15:48:31 +0200 (CEST)

On Tue, 29 Mar 2022, Oeckinghaus, Christian via curl-users wrote:

> .\bin\curl -v -X 'POST' `
> -d '<?xml version="1.0" encoding="utf-8"?>

Not the cause for your problems, but don't do "-X POST" with -d.

-d does itself already imply POST.

Said with some more words here:

   https://daniel.haxx.se/blog/2015/09/11/unnecessary-use-of-curl-x/

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-03-29