...
Exemplo de chamada de WebService
...
Bloco de código | ||
---|---|---|
| ||
curl |
...
--location 'http://localhost/ordem_carregamento/ocs_do_dia_checklist?data=2024-06-01' \ --header 'Content-Type: application/json |
...
' \ -- |
...
header |
...
'Accept: application/json |
...
' |
...
\ |
...
- |
...
-header |
...
'Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9. |
...
eyJpZF91c3VhcmlvIjo4NCwiY25waiI6IjAwLjAwMC4wMDAvMDAwMC0wMSIsImRlcG9zaXRvX3BhZHJhbyI6bnVsbCwiZXhwIjoxNzE3NzY3NDAyfQ. |
...
j_CChFzlGOMkfvQ1psP8gaxZiKQ8yiD1pJnyVeUWkg0' |
Bloco de código |
---|
curl --location 'http://localhost/ordem_carregamento/ocs_do_dia_checklist?data=2024-06-01' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZF91c3VhcmlvIjo4NCwiY25waiI6IjAwLjAwMC4wMDAvMDAwMC0wMSIsImRlcG9zaXRvX3BhZHJhbyI6bnVsbCwiZXhwIjoxNzE3NzY3NDAyfQ.j_CChFzlGOMkfvQ1psP8gaxZiKQ8yiD1pJnyVeUWkg0' |
...