904 B
904 B
OpenAPIHub
Description
The All-in-one API Platform
Example Request
For the URL, it depends on the API, for example I am using Credit Card Number Generator
- Curl
curl "https://trial-api-credit-card-number-generator-2m83.gw.openapihub.com/random_card_number?vendor=visa" -H "X-OpenAPIHub-Key: {{token}}"
- Raw
GET /random_card_number?vendor=visa HTTP/1.1
Host: trial-api-credit-card-number-generator-2m83.gw.openapihub.com
X-OpenAPIHub-Key: {{token}}
Response
- Success
{
"number": "3577359805860126",
"vendor": "jcb"
}
- Error
{
"message":"Invalid authentication credentials"
}
Regex
[a-z0-9]{32}
Example API key
tue3sv9hzsey1me4l7fwq3t46u5k8wag