Skip to content

Commit 8ff1f13

Browse files
committed
Add json header
1 parent 6ce3fd8 commit 8ff1f13

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ notes.txt
44
src/tiny-http
55
result
66
docker-image
7-
/scripts

scripts/test_glot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ run() {
1212

1313
RUN_RESULT=$(curl \
1414
-X POST \
15+
-H "Content-type: application/json" \
1516
-H "X-Access-Token: $ACCESS_TOKEN" \
1617
--silent \
1718
--data "$JSON" \
@@ -20,7 +21,6 @@ run() {
2021
echo "${DOCKER_IMAGE} [${PAYLOAD_PATH}]: ${RUN_RESULT}"
2122
}
2223

23-
2424
run "glot/assembly:latest" "payload/assembly.json"
2525
run "glot/ats:latest" "payload/ats.json"
2626
run "glot/bash:latest" "payload/bash.json"

0 commit comments

Comments
 (0)