Adjusting thigns to go to queue.
This commit is contained in:
7
scripts/curltest.sh
Normal file
7
scripts/curltest.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
filename=$PWD/web/sites/default/files/api-responses/characters.json
|
||||
if [ ! -f "${filename}" ]; then
|
||||
touch "${filename}"
|
||||
fi
|
||||
curl -s "https://dchadwick.ddev.site/api/character-list" > $PWD/web/sites/default/files/api-responses/characters.json
|
||||
Reference in New Issue
Block a user