Reputation: 87
I'm currently developing a web application with a backend in Python using FastAPI, and I'll be deploying it to AWS Lambda and using AWS DynamoDB as the database. The frontend will be built using ReactJS in the future. I need help implementing a functionality where certain endpoints can only be accessed conditionally, based on a previous call.
question
.get_explanation
endpoint for this specific question.follow_up_question
endpoint, where the user can ask a follow-up question about the explanation.follow_up_question
endpoint can only be called if the get_explanation
endpoint has already been called for the same question item?follow_up_question
endpoint has been called for that question, it can't be called again?Upvotes: -2
Views: 46