Restful table from plugin


I have been experimenting with Restful table ( 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.