diff --git a/bin/init.sh b/bin/init.sh new file mode 100755 index 0000000000000000000000000000000000000000..10db16aac34caf8cb0321586f2ffcbeaea3324a0 --- /dev/null +++ b/bin/init.sh @@ -0,0 +1 @@ + curl 'http://localhost:3000/api/collection' -H 'accept: application/json' -H 'Referer: http://localhost:3000/admin/manages' -H 'Origin: http://localhost:3000' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36' -H 'content-type: application/json' --data-binary '{"type":"collection","title":"Science Blogger"}' --compressed