<?php
$options
=
array
(
'http'
=>
array
(
'ignore_errors'
=> true,
'header'
=>
array
(
0 =>
'authorization: Bearer YOUR_API_TOKEN'
,
),
),
);
$context
= stream_context_create(
$options
);
$response
=
file_get_contents
(
false,
$context
);
$response
= json_decode(
$response
);
?>
No hay comentarios:
Publicar un comentario
Gracias por participar en mi pagina