I am new to Edx and its internal architecture.
I am looking for, creating a custom Edx XBlock which has a form. On form submit it will POST a REST-API call and store the result for the student view. Student will see only the result part (not form part)
I am able to create XBlock and call REST API. But I am not clear that how and where I have to store the result part. I believe it should be stored inside edx mongodb (Please correct me if I am wrong). If so, how should I access the db from XBlock.
I would greatly appreciate any suggestion.