rest api interview questions