rest api interview questions answers