leodvincci / behav.io

This is a web application designed to help software engineering job seekers practice for behavioral interviews..
3 stars 1 forks source link

API: created GET request that returns a random question #119

Closed leodvincci closed 1 year ago

leodvincci commented 1 year ago

-created API to return random question

bridgesMichael commented 1 year ago

When you're getting the single random question, you should just be able to return the single Question object instead of a list(), right? Or does it even matter..

leodvincci commented 1 year ago

ng the single random quest

let me check right quick

leodvincci commented 1 year ago
image
bridgesMichael commented 1 year ago

Ahhh that's right. In the other views we used model_to_dict for the single returns though. Not sure if it matters whether it's list or dict, so send however I suppose