Get Locations › Fetch Locations
Get Locations
Fetch Locations Fetch list of available Geolocations
curl -- request GET \
-- url "https://api.lambdatest.com/screenshots/v1/locations" \
-- header "Authorization: Basic <encoded-value>"
{
"locations" : [
{
"code" : "US" ,
"name" : "United States"
}
]
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response 200▼
application/json successful operation
locations object[]
▶ Hide child attributeslocations. code string
Example: "US"
locations. name string
Example: "United States"
curl -- request GET \
-- url "https://api.lambdatest.com/screenshots/v1/locations" \
-- header "Authorization: Basic <encoded-value>"
{
"locations" : [
{
"code" : "US" ,
"name" : "United States"
}
]
}