I'm doing a token support, like an api with an access token. I just can not get the information back when it's in another domain.
HTML
<div class="modal modal-fixed-footer show">
<div class="modal-content">
<h4>Aviso</h4>
<p>Este Token é inválido.</p>
</div>
<div class="modal-footer">
<a class="modal-action modal-close waves-effect btn-flat" href="//license.fullprog.com/comprar">Comprar</a>
</div>
</div>
<script src="https://code.jquery.com/jquery-1.8.3.min.js"></script><scripttype="text/javascript">
$(document).ready(function(){
api();
});
function api(){
$.get('http://license.fullprog.com/api/151519343520180105', function(resultadoplano){
$('#body').html(resultadoplano);
})
}
</script>
<div id="body"></div>