Check whether a URL is already saved
curl --request GET \
--url https://api.webstashai.com/check \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/check', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/check"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"exists": false
}{
"error": "<string>"
}Check whether a URL is already saved
GET
https://api.webstashai.com
/
check
Check whether a URL is already saved
curl --request GET \
--url https://api.webstashai.com/check \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/check', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/check"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"exists": false
}{
"error": "<string>"
}