Skip to main content
Fixed the weird syntax highlighting (as a result, the diff looks more extensive than it really is - use view "Side-by-side Markdown" to compare). Active reading [<https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol>].
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

This worked well for me.

curl -X POST --data @json_out.txt http://localhost:8080/ 
curl -X POST --data @json_out.txt http://localhost:8080/ 

Where,

-X Means the httpHTTP verb.

--data Means the data you want to send.

This worked well for me.

curl -X POST --data @json_out.txt http://localhost:8080/ 

Where,

-X Means the http verb.

--data Means the data you want to send.

This worked well for me.

curl -X POST --data @json_out.txt http://localhost:8080/ 

Where,

-X Means the HTTP verb.

--data Means the data you want to send.

Source Link
Felipe Pereira
  • 1.5k
  • 19
  • 27

This worked well for me.

curl -X POST --data @json_out.txt http://localhost:8080/ 

Where,

-X Means the http verb.

--data Means the data you want to send.