Public
Allows anyone access to your server without an API KEY.
Endpoint:
Note: Please ensure that /public/
is included; if not, it will assume a private silo.
https://api.jsonsilo.com/public/<FILE_UUID_HERE>
Example
- cURL
- Python (Requests)
- JavaScript (Axios)
curl -X GET \
-H 'Content-Type: application/json' \
https://api.jsonsilo.com/public/3611d590-4c64-4799-a68f-a3d2458d74f4
// pip install requests
import requests
url = 'https://api.jsonsilo.com/public/3611d590-4c64-4799-a68f-a3d2458d74f4'
headers = {
'Content-Type': 'application/json'
}
response = requests.get(url, headers=headers)
print(response.text)
// npm install axios
const url = 'https://api.jsonsilo.com/public/3611d590-4c64-4799-a68f-a3d2458d74f4';
const headers = {
'Content-Type': 'application/json'
};
axios.get(url, { headers: headers })
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error('There was an error with the request:', error);
});