Tuesday, September 1, 2015

curl survival kit

(-v verbose)

curl --request PUT --user admin http://maven.toot.com/nexus/content/repositories/releases/com/leguide/search3s/search-3S/3.5.4/threesidx4/lg_platform_scheduler_server.conf.xml --data-binary @/home/lee/lee_dev/search-platform/platform-scripts/config-prod/price_intelligence/threesidx4-cluster/lg_platform_scheduler_server.conf.xml

curl -X PUT "http://127.0.0.1:9200/index_tmp/_doc/1" -H 'Content-Type: application/json' -d'{"title": "whatever"}'