Skip to content

Instantly share code, notes, and snippets.

View lipebz's full-sized avatar
😶
fixing bugs

Filipe Bezerra lipebz

😶
fixing bugs
  • São Paulo
View GitHub Profile
@lipebz
lipebz / consume-api-with-php.php
Last active May 20, 2021 16:26
Exemplo de consumo de api com php
<?php
// Configutações (deixar num arquivo separado e protegido..)
define('API_BASE_URL', 'http://10.75.200.152:1266/');
define('API_USER', '');
define('API_PASS', '');
function getInfo($cpf) {