Retrieving Dataset Bearer token

CMS Version

3.0.7

Issue

We’re trying to get a schedule from a server using their API.
This API requires 2 separate queries:
-One to get the “Bearer token” (valid for 300 seconds)
-Another to get the schedule (using the token received).
How can I perform 2 separate request in one or how can I process this in Xibo?
Also, the token is about 700 chars long, and the field “password” seems to be less than that too.
I can perform the test, but can’t save it.