I would like to expose a REST endpoint (for access locally only ie via http://localhost/api
) directly from my Chrome extension, without the messages/requests going through Google's services.
Is this possible?
EDIT: needs to be REST and not websocket.