From 76931bf5691846c8326ed52abfe5a7312affb18e Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Sat, 14 Mar 2026 09:22:53 +0100 Subject: initial commit --- get_json.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 get_json.sh (limited to 'get_json.sh') diff --git a/get_json.sh b/get_json.sh new file mode 100755 index 0000000..c2af20f --- /dev/null +++ b/get_json.sh @@ -0,0 +1,3 @@ +#!/bin/bash +WORD_ID=$1 +curl -s --ciphers DEFAULT@SECLEVEL=1 -X PUT https://info-car.pl/api/word/word-centers/exam-schedule -H "Content-type: application/json" -d '{"category":"A","wordId":"'${WORD_ID}'","startDate":"2026-03-14T11:59:11.990Z","endDate":"2026-05-15T10:59:11.990Z"}' -H "Accept: application/json, text/plain, */*" -H "Authorization: $(cat token)" -- cgit v1.3