Restful table from plugin

All,

I have been experimenting with Restful table (https://docs.atlassian.com/aui/latest/docs/restful-table.html) from within my plugin. I am getting the following error when Restful table is trying to GET table elements:
“No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”
This makes sense because its within the plugin. Is there a way to resolve this like AP.request does? Restful table has an option “submitAccessKey”, but does not have any docs on how to use it.

Cheers,
Justin