Skip to main content
1 of 2
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.

Felipe Pereira
  • 1.5k
  • 19
  • 27