This code is collaborated with ChatGPT-4 and 3.5. The initial commit is almost written by them.
Check on your local by Postman
- Postmanをインストールする。
- localhost/authenticate に 8080 Port で POST を投げる。 その際にJSONはこう設定する
- うまくいけばJWTトークンが帰ってくるはずなので、それをコピペして、localhost/chat に Port 8080でPOSTを投げる。 JSONはこんな感じ。
- うまく行ってればChatGPTからの回答が返ってくるよ。やったね