This resource has no attributes
curl --request GET \
--url https://api.vulncheck.com/v3/openapi \
--header 'Accept: application/json' \
--header 'Authorization: Bearer insert_token_here'
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, _ := http.NewRequest("GET", "https://api.vulncheck.com/v3/openapi", nil)
request.Header.Set("Accept", "application/json")
request.Header.Set("Authorization", "Bearer insert_token_here")
response, _ := http.DefaultClient.Do(request)
defer response.Body.Close()
bodyBytes, _ := io.ReadAll(response.Body)
fmt.Println(string(bodyBytes))
}
import requests
url = "https://api.vulncheck.com/v3/openapi"
headers = {
"accept": "application/json",
}
params = {}
response = requests.get(url, headers=headers, params=params)
print(response.json())
{
"basePath": "/v3",
"definitions": "{...}",
"info": {
"contact": {
"email": "support@vulncheck.com",
"name": "VulnCheck API Support"
},
"description": "Version 3 of the VulnCheck API",
"termsOfService": "https://vulncheck.com/terms",
"title": "VulnCheck API",
"version": "3.0"
}
}