TUK-3oon / hello-tarot-FE

hello-tarot project FrontEnd
0 stars 0 forks source link

[short meeting] API call time #15

Closed yangwonjoon closed 3 months ago

yangwonjoon commented 4 months ago
  1. game/end : true, false Returns true or false indicating whether a response has been received. If true is returned, call game/status.

  2. game/status : READY/STARTED/FINISHED Called once every second. When FINISHED is returned, call game/answer.

  3. game/answer : Returns the GPT value.

Both status and answer should have only game_id in the request body.

Example game/answer response image

yangwonjoon commented 3 months ago

[Error, Question] /game/status cannot be changed

https://github.com/TUK-3oon/hello-tarot-FE/assets/102780846/96b5e887-bf52-4561-8e05-ede8f22577e7

@hellojunho @kim-song-jun

yangwonjoon commented 3 months ago

[Error Clear] Conclusion: env file was different