Introduction
VilaRica API
Postman
Collection /docs/collection.json
Authenticating requests
This API is not authenticated.
App\General
GET api/{fallbackPlaceholder}
Example request:
$client = new \GuzzleHttp\Client();
$url = 'http://api-delivery-center.vilarica.com.br/api/{fallbackPlaceholder}';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));curl --request GET \
--get "http://api-delivery-center.vilarica.com.br/api/{fallbackPlaceholder}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"const url = new URL(
"http://api-delivery-center.vilarica.com.br/api/{fallbackPlaceholder}"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());import requests
import json
url = 'http://api-delivery-center.vilarica.com.br/api/{fallbackPlaceholder}'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}
response = requests.request('GET', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.