tps/deploy/reload/dcard/curl_dcard.cmd

4 lines
378 B
Batchfile
Raw Normal View History

2018-05-30 22:42:06 -04:00
curl -H "Content-Type: application/json" -X POST -d@./srce.json http://localhost:81/srce_set
2018-05-31 00:28:04 -04:00
curl -H "Content-Type: application/json" -X POST -d@./map.json http://localhost:81/mapdef_set
curl -H "Content-Type: application/json" -X POST -d@./vals.json http://localhost:81/mapval_set
curl -v -F upload=@//mnt/c/Users/fleet/Downloads/dcard.csv http://localhost:81/import?srce=dcard