Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Olá, boa tarde! Parabens pelo trabalho, tem me ajudado muito, ai surgiu a necessidade para mim de trabalhar com JSON, pois estou aprendendo Electron e decidi fazer um tracker das encomendas.
Ai resolvi fazer o fork e alterar.
Não repare muito no código, pois sou de Java, então quebrei um galho.
Na verdade oq fiz foi criar duas funções no rastreamento.
GET "/rastreamento/objeto/123123' que retorna o mesmo Json q vem dos correios. E:
POST "/rastreamento/objetos"
[
{"codigo": "12312313"},
{"codigo: "123123123"}
]
Que faz a mesma coisa, porém com POST e recebendo os códigos via JSON.
Se você curtir eu posso atualizar o Readme.
Espero ter ajudado, e se um dia isso for pra prod, me avisa!
Abraços!
May the force be with you.