Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 471 Bytes

ping.md

File metadata and controls

32 lines (18 loc) · 471 Bytes

Ping

Pings (via IPv4) a specified IP/hostname

  • URL

    /ping

  • Method:

    POST

  • URL Params

    None

  • Data Params

    {'ip': '[ipv4_or_A_hostname]'}

  • Ping Success Response:

    • Content: { 'status': 'online' }
  • Ping Failure Response:

    • Content: { 'status': 'offline' }
  • Error Response:

    • Content: { 'status': 'error' }
    • Invalid IPv4 address or hostname