estoy probando un comando
curl -X POST http://localhost:4242/create-payment-intent -H "Content-Type: application/json" -d '{}'
y me aparece esto:
Invoke-WebRequest : No se puede enlazar el parámetro 'Headers'. No se puede convertir el valor "Content-Type: application/json" de tipo "System.String" al tipo "System.Collections.IDictionary". En línea: 1 Carácter: 61
y probando con un segundo comando tampoco resulto
curl -H POST http://localhost:4242/create-payment-intent -H "Content-Type: application/json" -d '{}'
literal me aparecio lo mismo que cuando use el -x
>Invoke-WebRequest : No se puede enlazar el parámetro 'Headers'. No se puede convertir el valor "Content-Type: application/json" de tipo "System.String" al tipo "System.Collections.IDictionary".
En línea: 1 Carácter: 61