Weagent v2.0

Web APIs designed for simplicity.

API list (no token required)

Get exact weagent version including minor version number.

Try: /v2

Test to return query string.

Try: /v2/echo/test

Get my IP address.

Try: /v2/get/ip

Make a TCP Ping to specific IP and port.

Try: /v2/ping/127.0.0.1/443

API list (token required)

Send email message. Message is passed as json.

A token is required to send email message.

Method: Post

{"token":"YOUR_TOKEN", "from":"[email protected]", "to":"[email protected]", "subject":"subject line", "content":"<strong>email content</strong>"}

Try: /v2/send/email

Send wechat message. Message is passed as json.

A token is required to send wechat message.

Try: /v2/send/wechat