I have started exploring the lit-element and wonder how to make an AJAX call to a REST API.
There is an element called iron-ajax
but that is to be believed in the Polymer context.
Is there a way to do this in the lit without been imported from another context like Polymer?
You can use fetch API. For this you can create one js module which exports function to make as AJAX call so that you can centralized all the AJAX call.