How can I insert data into two different tables with a single request?

By object, do you mean just javascript objects? Or mean a row in db?
Share an example of what you have and what you are trying to achieve.