“Curl post” Respostas de código

Curl Post JSON

curl -X POST -H "Content-Type: application/json" \
 -d '{"username":"abc","password":"abc"}' \
 https://api.example.com/v2/login
Poised Pheasant

Curl post

# dont forget the content type, else it will throw an error

curl -X POST -H "Content-Type: application/json" \
 -d '{"username":"abc","password":"abc"}' \
 https://api.example.com/v2/login
GutoTrosla

Curl post

curl -X POST -d "param1=value1&param2=value2" https://example.com/post
garzj

Curl post

curl --data '' https://example.com/resource.cgi

curl -X POST https://example.com/resource.cgi

curl --request POST https://example.com/resource.cgi
Awful Anaconda

Curl Pass dados em solicitação

curl -d "param1=value1¶m2=value2" -X POST http://localhost:3000/data
Sleepy Sable

Solicitação de postagem de Curl

curl -d "user=user1&pass=abcd" https://example.com/login
Prickly Parrot

Respostas semelhantes a “Curl post”

Perguntas semelhantes a “Curl post”

Mais respostas relacionadas para “Curl post” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código