From 31986b3ea65b9d7827aea6c7e9b8d3995b74e107 Mon Sep 17 00:00:00 2001 From: Ken Fallon Date: Tue, 15 Jul 2025 19:58:31 +0200 Subject: [PATCH] Curl fix to show headers --- workflow/process_episode.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/process_episode.bash b/workflow/process_episode.bash index daa8c81..a50215c 100755 --- a/workflow/process_episode.bash +++ b/workflow/process_episode.bash @@ -1330,7 +1330,7 @@ function post_show_to_hpr_db() { echo_error "The file \"${post_show_json}\" is not valid json." fi - curl --netrc --include --request POST "https://hub.hackerpublicradio.org/cms/add_show_json.php" --header "Content-Type: application/json" --data-binary "@${post_show_json}" + curl --netrc --show-headers --request POST "https://hub.hackerpublicradio.org/cms/add_show_json.php" --header "Content-Type: application/json" --data-binary "@${post_show_json}" if [ "$( curl --silent --netrc --write-out '%{http_code}' https://hub.hackerpublicradio.org/cms/say.php?id=${ep_num} --output /dev/null )" != 200 ] then