Requisição
Adicionar o parâmetro Authorization
a Cabeçalhos, cujo valor é concatenar o Token após o Bearer. Exemplo:Authorization: Bearer ********************
Códigos de solicitação
curl --location --request GET 'https://api-tst.tms.otif.app/tms/odata/v1' \
--header 'Authorization: Bearer <token>'
Respostas
application/json;odata.metadata=minimal;odata.streaming=true
{
"typeAnnotation": {
"typeName": "string"
},
"entitySets": [
{
"typeAnnotation": {
"typeName": "string"
},
"url": "http://example.com",
"name": "string",
"title": "string"
}
],
"singletons": [
{
"typeAnnotation": {
"typeName": "string"
},
"url": "http://example.com",
"name": "string",
"title": "string"
}
],
"functionImports": [
{
"typeAnnotation": {
"typeName": "string"
},
"url": "http://example.com",
"name": "string",
"title": "string"
}
]
}
Modificado emĀ 2024-10-29 21:23:30