Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 61 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 61 Rev 62
Línea 24... Línea 24...
24
			$.ajax({
24
			$.ajax({
25
   				'dataType'  : 'json',
25
   				'dataType'  : 'json',
26
         		'accept'    : 'application/json',
26
         		'accept'    : 'application/json',
27
            	'method'    : 'get',
27
            	'method'    : 'get',
28
              	'url'       : 'https://dev-services.leaderslinked.com/csrf',
28
              	'url'       : 'https://dev-services.leaderslinked.com/csrf',
-
 
29
              	'headers'	: { 
-
 
30
					'Authorization': 'Bearer ' + token,
-
 
31
	    		}
29
     		}).done(function(response) {
32
     		}).done(function(response) {
30
            	if(response.success) {
33
            	if(response.success) {
31
					csrf = response.data
34
					csrf = response.data
32
					console.log('csrf  = ' + csrf);
35
					console.log('csrf  = ' + csrf);
33
					setTimeout(() => {
36
					setTimeout(() => {