Server Operations

RESTful API

URL:

    http(s)://<REST Host>/publish

Method:

 Post

Parameters:

Name Required Description
appkey Yes Your app key
channel Yes Target channel name
content Yes The message you want to publish

Return:

    {
        "code" : 200,
        "content" : "OK"
    }

For more detailed information of the return value, read the Appendix A

SDK

From server side, currently GoEasy only provide the Java SDK. We will provide more SDK of other languages in future.

Use Java SDK to publish message from Server side:

    GoEasy goEasy = new GoEasy( "http(s)://<REST Host>”, "my_appkey");
    goEasy.publish("my_channel", "Hello, GoEasy!");

results matching ""

    No results matching ""