Problem with POST in cURL. Don't find the -X

Viewed 387

When I make the call, it says me this:

curl -X POST http://localhost:8000

Invoke-WebRequest : No se encuentra ningún parámetro que coincida con el nombre del parámetro 'X'.
En línea: 1 Carácter: 6
+ curl -X PUT http://localhost:8000

The get works well.

StatusCode        : 200
Content           : Recibió un método GET
RawContent        : HTTP/1.1 200 OK
                    Connection: keep-alive
....

Thanks by the help.

0 Answers
Related