scripts/open_aerie: fix comment; wrong creds should get 403

This commit is contained in:
Daniel Maslowski 2025-01-20 21:56:00 +01:00
parent c962a53bbe
commit 2b03c60ef2

View File

@ -9,8 +9,8 @@ curl -XPOST \
--data '{"consumer_key": "test123","consumer_secret":"123test","aerie":true }' \ --data '{"consumer_key": "test123","consumer_secret":"123test","aerie":true }' \
http://localhost:3000/api/update -vvv http://localhost:3000/api/update -vvv
#should return 500 #should return 403
curl -XPOST \ curl -XPOST \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
--data '{"consumer_key": "foo","consumer_secret":"bar","aerie":true }' \ --data '{"consumer_key": "foo","consumer_secret":"bar","aerie":true }' \
http://localhost:3000/api/update -vvv http://localhost:3000/api/update -vvv