cURL
curl --request POST \ --url https://production.api.noodle.cx/external/test/generate-token \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --header 'x-private-key: <x-private-key>' \ --header 'x-user-id: <x-user-id>' \ --data ' { "method": "<string>", "path": "<string>", "body": { "key": "value" } } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Use este endpoint para gerar um token JWT de teste para testes direto em nossa documentação.
Seu User ID
Sua API Key
Sua chave privada (PEM) para assinatura da requisição em base64
O método HTTP da requisição final (ex: 'GET', 'POST').
O caminho do endpoint final (ex: '/external/receipts/some-id').
O corpo JSON da requisição final, se houver.
{ "key": "value" }
Successful Response