I am using curl for REST call from json file, like the following:
curl  -X POST -H "Content-Type: application/json"
http://127.0.0.1:8080/v2/apps?force=true -d...@deploy.json
How can I translate this to "golang"  POST method? More specifically, how
can i create request object from json file?
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to