Rolly Maulana Awangga :: Catatan Ngoprek IT

Pakar dan Awam sama saja, sama sama belajar

Sending json post via curl

here is example of using curl to send json using method post

 

 

curl -X POST -H “Content-Type: application/json” -d ‘{
“fee”: “$3,562.00”,
“id_user”: 0,
“phone”: “(925) 470-3826”,
“pic”: “Felecia Luna”,
“nomor”: “PROP/212/2233”,
“deliverables”: [
“quis”,
“occaecat”,
“magna”,
“labore”,
“quis”,
“culpa”,
“officia”
],
“objective”: [
“reprehenderit”,
“eu”,
“qui”
],
“program”: “Tanpa kotak excepton”,
“kepada”: “Dir. SDM Elsie Wheeler 210 Taylor Street, Clay, Indiana, 6282”,
“perusahaan”: “PT.Comtrek”,
“email”: “felecialuna@comtrek.com”,
“tgl”: “Bandung, 07.03.03”
}’ http://www.vas.web.id/

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: