Alipay Interview Question

What is RESTful API and how to make it safe?