interview questions on rest api