Palo Alto Networks Interview Question

How would you approach designing a restful api