API Reference
Get ping
API Reference
Get ping
GET
/
ping
import Fiatwebservices from 'fiatwebservices';
const client = new Fiatwebservices({
apiKey: process.env['FWS_API_KEY'], // This is the default and can be omitted
});
async function main() {
const response = await client.ping();
console.log(response.message);
}
main();
{
"message": "pong"
}
Response
200 - application/json
A successful ping response.
The response is of type object
.
import Fiatwebservices from 'fiatwebservices';
const client = new Fiatwebservices({
apiKey: process.env['FWS_API_KEY'], // This is the default and can be omitted
});
async function main() {
const response = await client.ping();
console.log(response.message);
}
main();
{
"message": "pong"
}