I’ve got it.
Added the link to ajax.php as url and it worked. Now I can make my json requests.
For future information in case someone need it:
$.ajax({
type: 'POST',
dataType: 'json',
url: '/wp-admin/admin-ajax.php',
data: {
action: 'call_udemygrab',
value: url
},