-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgenerate.sh
26 lines (21 loc) · 981 Bytes
/
generate.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/bash
curl --request POST \
--url http://localhost:5000/api/toggles \
--header 'content-type: application/json' \
--data '{ "name":"Toggle One", "description": "Lorem ipsum dolor sit amet" }'
curl --request POST \
--url http://localhost:5000/api/toggles \
--header 'content-type: application/json' \
--data '{ "name":"Toggle Two", "description": "Lorem ipsum dolor sit amet" }'
curl --request POST \
--url http://localhost:5000/api/toggles \
--header 'content-type: application/json' \
--data '{ "name":"Toggle Three", "description": "Lorem ipsum dolor sit amet" }'
curl --request POST \
--url http://localhost:5000/api/toggles \
--header 'content-type: application/json' \
--data '{ "name":"Toggle Four", "description": "Lorem ipsum dolor sit amet" }'
curl --request POST \
--url http://localhost:5000/api/toggles \
--header 'content-type: application/json' \
--data '{ "name":"Toggle Five", "description": "Lorem ipsum dolor sit amet" }'