chore(scaffolder): resetting loading the mock data

This commit is contained in:
blam
2020-06-20 05:59:40 +02:00
parent 22fbe0aaab
commit 2a0371c306
+5 -11
View File
@@ -1,14 +1,8 @@
#!/usr/bin/env bash
# curl \
# --location \
# --request POST 'localhost:7000/catalog/locations' \
# --header 'Content-Type: application/json' \
# --data-raw "{\"type\": \"file\", \"target\": \"$(pwd)/sample-templates/react-ssr-template/template.yaml\"}"
curl \
--location \
--request POST 'localhost:7000/catalog/locations' \
--header 'Content-Type: application/json' \
--data-raw "{\"type\": \"github\", \"target\": \"https://github.com/benjdlambert/backstage-graphql-template/blob/master/template.yaml\"}"
--location \
--request POST 'localhost:7000/catalog/locations' \
--header 'Content-Type: application/json' \
--data-raw "{\"type\": \"file\", \"target\": \"$(pwd)/sample-templates/react-ssr-template/template.yaml\"}"