# BACKCHECKED_API_KEY is a sample key. It starts with bk_test_.
curl -sS -X GET "https://api.backchecked.app/v1/openapi.yaml"
// BACKCHECKED_API_KEY is a sample key. It starts with bk_test_.
package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, err := http.NewRequest(http.MethodGet, "https://api.backchecked.app/v1/openapi.yaml", nil)
if err != nil { panic(err) }
res, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer res.Body.Close()
b, _ := io.ReadAll(res.Body)
fmt.Printf("%s\n%s\n", res.Status, b)
}
// BACKCHECKED_API_KEY is a sample key. It starts with bk_test_.
const res = await fetch("https://api.backchecked.app/v1/openapi.yaml", {
method: "GET",
headers: {
},
})
console.log(res.status, await res.text())
# BACKCHECKED_API_KEY is a sample key. It starts with bk_test_.
import os
import urllib.request
req = urllib.request.Request(
"https://api.backchecked.app/v1/openapi.yaml",
data=None,
headers={
},
method="GET",
)
with urllib.request.urlopen(req) as res:
print(res.status, res.read().decode())