From 73d7b44898de5756151a9548daf0a9ada7667136 Mon Sep 17 00:00:00 2001 From: Michele Sessa Date: Tue, 6 Dec 2022 13:31:23 +0000 Subject: [PATCH] docs(gatecrashers): change example, now content-type is application/json --- subjects/gatecrashers/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/gatecrashers/README.md b/subjects/gatecrashers/README.md index 19e5ccb9..518dad71 100644 --- a/subjects/gatecrashers/README.md +++ b/subjects/gatecrashers/README.md @@ -25,7 +25,7 @@ Unauthorized attempt: ```shell curl -i -X POST localhost:5000/Ricky_Banni -H "Content-Type: application/json" -d '{"answer": "yes", "drink": "alcohol", "food": "bats"}' HTTP/1.1 401 Unauthorized -Content-Type: text/html +Content-Type: application/json Date: [date] Connection: keep-alive Keep-Alive: timeout=5 @@ -39,7 +39,7 @@ Authorized attempt: ```shell curl -i -u Rahima_Young:abracadabra -X POST localhost:5000/Ricky_Banni -H "Content-Type: application/json" -d '{"answer": "yes", "drink": "alcohol", "food": "bats"}' HTTP/1.1 200 OK -Content-Type: text/html +Content-Type: application/json Date: [date] Connection: keep-alive Keep-Alive: timeout=5