Skip to main content
Active reading.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

iI am using the below format to test with a web server.

use -F 'json data'

use -F 'json data' 

letLet's assume that jsonthis JSON dict format  :

{ 'comment': { 'who':'some_one', 'desc' : 'get it' } } 

full###Full example

curl -XPOST your_address/api -F comment='{"who":"some_one", "desc":"get it"}' 

i am using the below format to test with web server

use -F 'json data'

let assume that json dict format  :

{ 'comment': { 'who':'some_one', 'desc' : 'get it' } } 

full example

curl -XPOST your_address/api -F comment='{"who":"some_one", "desc":"get it"}' 

I am using the below format to test with a web server.

use -F 'json data' 

Let's assume this JSON dict format:

{ 'comment': { 'who':'some_one', 'desc' : 'get it' } } 

###Full example

curl -XPOST your_address/api -F comment='{"who":"some_one", "desc":"get it"}' 

i am using the below format to test with web server

use -F 'json data'

let assume that json dict format : { 'comment': { 'who':'some_one', 'desc' : 'get it' } }

{ 'comment': { 'who':'some_one', 'desc' : 'get it' } } 

full example curl -XPOST your_address/api -F comment='{"who":"some_one", "desc":"get it"}'

curl -XPOST your_address/api -F comment='{"who":"some_one", "desc":"get it"}' 

i am using the below format to test with web server

use -F 'json data'

let assume that json dict format : { 'comment': { 'who':'some_one', 'desc' : 'get it' } }

full example curl -XPOST your_address/api -F comment='{"who":"some_one", "desc":"get it"}'

i am using the below format to test with web server

use -F 'json data'

let assume that json dict format :

{ 'comment': { 'who':'some_one', 'desc' : 'get it' } } 

full example

curl -XPOST your_address/api -F comment='{"who":"some_one", "desc":"get it"}' 
Source Link

i am using the below format to test with web server

use -F 'json data'

let assume that json dict format : { 'comment': { 'who':'some_one', 'desc' : 'get it' } }

full example curl -XPOST your_address/api -F comment='{"who":"some_one", "desc":"get it"}'