Evaluate one Hyperlab flag (OFREP)
curl --request POST \
--url https://public-api.hyperlocalise.com/ofrep/v1/evaluate/flags/{key}const options = {method: 'POST'};
fetch('https://public-api.hyperlocalise.com/ofrep/v1/evaluate/flags/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://public-api.hyperlocalise.com/ofrep/v1/evaluate/flags/{key}"
response = requests.post(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://public-api.hyperlocalise.com/ofrep/v1/evaluate/flags/{key}"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Hyperlab
Evaluate one Hyperlab flag (OFREP)
POST
https://public-api.hyperlocalise.com
/
ofrep
/
v1
/
evaluate
/
flags
/
{key}
Evaluate one Hyperlab flag (OFREP)
curl --request POST \
--url https://public-api.hyperlocalise.com/ofrep/v1/evaluate/flags/{key}const options = {method: 'POST'};
fetch('https://public-api.hyperlocalise.com/ofrep/v1/evaluate/flags/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://public-api.hyperlocalise.com/ofrep/v1/evaluate/flags/{key}"
response = requests.post(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://public-api.hyperlocalise.com/ofrep/v1/evaluate/flags/{key}"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Was this page helpful?

