Monday, May 14, 2012

CURL Post a file in json format

I keep having to look this up, so putting it here ought to save some time. When attempting to post a block of JSON to a web service the Curl incantation is :


 curl -X POST  -H 'content-type: application/json'  -d @myjsonfile.txt http://some.url/param

10 comments:

ajudan pk said...
This comment has been removed by a blog administrator.
Guruji said...
This comment has been removed by a blog administrator.
Glooby Soft said...

CBSE 10th Class Result 2018

CBSE 10th Class Result 2018 Name Wise

CBSE 10th Class Result Date 2018

CBSE 10th Class Result 2018 School Wise

CBSE 10th Class Marks Sheet 2018

Glooby Soft said...

RBSE 10th Class Result 2018

RBSE 10th Result 2018 Name Wise

RBSE 10th Board Result 2018 School Wise

Rajasthan Board 10th Class Result 2018

Rajasthan Board 10th Result 2018 Name Wise

RBSE 10th Class Admit Card 2018

RBSE 10th Class Mark Sheet 2018

Glooby Soft said...

RBSE 12th Class Result 2018

RBSE 12th Result 2018 Name Wise

RBSE 12th Board Results 2018 School Wise

RBSE 12th Class Exam 2018 Result Date

RBSE 12th Science Result 2018

RBSE 12th Commerce Result 2018

RBSE 12th Arts Result 2018

Rajasthan Board 12th Class Results 2018

RBSE 12th Class Mark Sheet 2018

RBSE 12th Class Admit Card 2018

Glooby Soft said...

AP Board Inter 2nd Year Results 2018 School Wise

AP Board Intermediate 2nd Year Results 2018

AP Board Inter 1st Year Results 2018 School Wise

AP Board Intermediate 1st Year Result 2018 

AP Board 10th Class Mark Sheet 2018

Manabadi AP Board Inter 2nd Year Results 2018 Name Wise 

Glooby Soft said...

MP Board 10th Class Result 2018 School Wise

MP Board 10th Class Results 2018

MP Board 10th Class Result 2018 Date 

MP Board 10th Class Result 2018 Name Wise

MP Board 10th Class Mark Sheet 2018

MP Board 10th Class Admit Card 2018

MP Board 10th Class Mark Sheet 2018

Glooby Soft said...

MP Board 12th Class Results 2018 Name Wise 

MP Board 12th Science Results 2018 

MP Board 12th Class Results 2018 School Wise

MP Board 12th Class Admit card 2018

MP Board 12th Commerce Results 2018

MP Board 12th Arts Results 2018 

MP Board 12th Class Result 2018 

MP Board 12th Class Mark Sheet 2018

Glooby Soft said...

Maharashtra Board HSC Result 2018

Maharashtra Board HSC Mark Sheet 2018

Maharashtra HSC Result Date 2018

Maharashtra Board 12th Class Result 2018 Name Wise

Maharashtra Board 12th Science Result 2018

Maharashtra Board 12th Commerce Result 2018

Maharashtra Board 12th Arts Result 2018

Glooby Soft said...

Maharashtra Board 10th Class Result 2018

Maharashtra Board SSC Mark Sheet 2018

Maharashtra Board SSC Result 2018 School Wise

Maharashtra Board SSC Result 2018 Name Wise

Maharashtra Board SSC Result Date 2018

Maharashtra Board SSC Exam Result 2018