Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Cabeçalho

Code Block
languagebash
curl -X POST {url} -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Callback: string' -H 'Authorization: Bearer {chave-api}' 

Você pode usar também wget , ao invés de curl.

{url}: URL da consulta, composta de Base URL + endpoint da consulta

...

Corpo da requisição

Code Block
languagejson
{
  "cpfCnpj": "999.999.999-99"
}