using two APIs to allow a user to submit information