Mimecast Interview Question

How to ensure restfull web service security