1. building an API on top of another page