Genii Weblog
Data from Domino: nuts and bolts of REST calls
Wed 23 Dec 2020, 02:00 PM
Tweetby Ben Langhinrichs
GET /CurbAppeal.nsf/api/boost HTTP/1.1
Intro) cURL
curl --location --request GET 'https://geniisupport.com/CurbAppeal.nsf/api/boost'
Accept: application/json
"url": "https://geniisupport.com/CurbAppeal.nsf/api/boost/views",
"method": "GET",
"timeout": 0,
"headers": {
"Accept": "application/json"
},
};
console.log(response);
});
headers = {}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
X-Key-Value: Chagrin Falls, OH
myHeaders.append("X-Key-Value", "Beachwood, OH");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://geniisupport.com/CurbAppeal.nsf/api/boost/views/76CA31CBCB19C70A8525694F0045C657", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
var options = {
'method': 'GET',
'url': 'https://geniisupport.com/CurbAppeal.nsf/api/boost/documents/524C08BF648BE77A85257B8600798F5B',
'headers': {
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://geniisupport.com/CurbAppeal.nsf/api/boost/documents/524C08BF648BE77A85257B8600798F5B?metadata=false&items=StreetAddress,Bdrms,Full=Bathrooms,Half=Half_Baths,Photo");
xhr.send();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://geniisupport.com/CurbAppeal.nsf/api/boost/documents/524C08BF648BE77A85257B8600798F5B?metadata=false");
xhr.setRequestHeader("X-Items-List", "StreetAddress+\", \"+City+\", \"+State=Address,Bdrms,Full=Bathrooms,Half=Half-Baths,Photo[Graphic 1]");
xhr.send();
X-Key-Value: Beachwood, OH
HttpResponse<String> response = Unirest.get("https://geniisupport.com/CurbAppeal.nsf/api/boost/views/76CA31CBCB19C70A8525694F0045C657?metadata=false&additems=Col1,Col2")
.header("X-Key-Value", "Beachwood, OH")
.asString();
$response | ConvertTo-Json
$response | ConvertTo-Json
Accept: text/html
$headers.Add("Accept", "text/html")
$response = Invoke-RestMethod 'https://geniisupport.com/CurbAppeal.nsf/api/boost/documents/524C08BF648BE77A85257B8600798F5B/rtitems/Col1' -Method 'GET' -Headers $headers
$response | ConvertTo-Json
Accept: text/html
$headers.Add("Accept", "text/html")
$response = Invoke-RestMethod 'https://geniisupport.com/CurbAppeal.nsf/api/boost/documents/524C08BF648BE77A85257B8600798F5B/rtitems/Col1?fragment=true' -Method 'GET' -Headers $headers
$response | ConvertTo-Json
Accept: text/html
conn = http.client.HTTPSConnection("geniisupport.com")
payload = ''
headers = {
}
conn.request("GET", "/CurbAppeal.nsf/api/boost/documents/524C08BF648BE77A85257B8600798F5B/rtitems/Photo/chunks/Graphic 1?fragment=true", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
X-Items-List: Photo[$GraphicOffset]=Offset,Photo[$GraphicFormat]=Fmt,Photo[%GraphicHeightPX]=height,Photo[%GraphicWidthPX]=width
conn = http.client.HTTPSConnection("geniisupport.com")
payload = ''
headers = {
'X-Items-List': 'Photo[$GraphicOffset]=Offset,Photo[$GraphicFormat]=Fmt,Photo[%GraphicHeightPX]=height,Photo[%GraphicWidthPX]=width'
}
conn.request("GET", "/CurbAppeal.nsf/api/boost/documents/524C08BF648BE77A85257B8600798F5B/rtitems/Photo/chunks/Graphic 1?metadata=false", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
--method GET \
--timeout=0 \
--header 'Accept: text/html' \
'https://geniisupport.com/CurbAppeal.nsf/api/boost/documents/524C08BF648BE77A85257B8600798F5B/rtitems/Photo/chunks/Graphic 1?fragment=true&dataimgs=max'
Copyright © 2020 Genii Software Ltd.
What has been said:
1125.1. Nicely put. With thanks! website Really tons of fantastic knowledge. casino en ligne Superb write ups, Thank you! casino en ligne You actually expressed it superbly. casino en ligne Many thanks. Quite a lot of material! casino en ligne Thank you. I value this. casino en ligne Tips well utilized.. casino en ligne Really a lot of beneficial knowledge. casino en ligne Lovely postings. Regards. casino en ligne Cheers. Valuable information! casino en ligne (05/30/2025 07:21 PM)
Nicely put. With thanks!
website
Really tons of fantastic knowledge.
casino en ligne
Superb write ups, Thank you!
casino en ligne
You actually expressed it superbly.
casino en ligne
Many thanks. Quite a lot of material!
casino en ligne
Thank you. I value this.
casino en ligne
Tips well utilized..
casino en ligne
Really a lot of beneficial knowledge.
casino en ligne
Lovely postings. Regards.
casino en ligne
Cheers. Valuable information!
casino en ligne