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: curl -d in powershell

From: Bill Mercer via curl-users <curl-users_at_lists.haxx.se>
Date: Tue, 29 Mar 2022 13:25:20 +0000

> that REST service (HTTP 200), but not POST. If I'm using Linux/curl, everything
> works nicely and I get HTTP 200 for both GET and POST. Using Windows
> mingw/curl, I always get HTTP 302 if using POST. Unfortunately, I need to get it

Whenever something works with curl in Linux but not in Windows, the first thing I always look at is differences
in delimiters and punctuation between the two platforms.

For example, in Windows single quotes don't work the same way, the escape character is usually ^ instead of \, and so forth.




-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-03-29