Initial auth URL

GET /api?signature=e39de9f2e28079c01ebb4b803dfc3442b819545c&echostr=913461463450840893&timestamp=1492970761&nonce=1850971833 HTTP/1.1
Host: wechat.hitxy.org.au
Accept: */*
Cache-Control: no-cache
Connection: Keep-Alive
Pragma: no-cache
User-Agent: Mozilla/4.0
X-Forwarded-For: 103.7.30.107
X-Forwarded-Host: wechat.hitxy.org.au
X-Forwarded-Server: wechat.hitxy.org.au



Unfollow: 

POST /api?signature=ed32de69a7977a8468ca72fa45125a6506cc2cde&timestamp=1492790658&nonce=644867704&openid=oUN420bxqFqlx0ZQHciUOesZO3PE&encrypt_type=aes&msg_signature=00db32d3a36e80969c65d6ff94d85b73dfdede43 HTTP/1.1
Host: wechat.hitxy.org.au
Accept: */*
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 770
Content-Type: text/xml
Pragma: no-cache
User-Agent: Mozilla/4.0
X-Forwarded-For: 103.7.30.105
X-Forwarded-Host: wechat.hitxy.org.au
X-Forwarded-Server: wechat.hitxy.org.au

<xml>
    <ToUserName><![CDATA[gh_f09231355c68]]></ToUserName>
    <FromUserName><![CDATA[oUN420bxqFqlx0ZQHciUOesZO3PE]]></FromUserName>
    <CreateTime>1492790658</CreateTime>
    <MsgType><![CDATA[event]]></MsgType>
    <Event><![CDATA[unsubscribe]]></Event>
    <EventKey><![CDATA[]]></EventKey>
    <Encrypt><![CDATA[brFRc2b7iWU+sxTJfQ1Alp+GcR69Wkeh6Bb88z6XP/q8feWBbvo1odwZ97WrPV5UE2ctrzY88F0J5gt1ECX6OgcKMtZQiZgucXwsh53N9jyDRV+j6zJ1kpJiAf0UxUV7B0Q6OEX830Exoaylj9ZwoR1iQL84eB8CSVmUHRGNxqMK5hg6frE65guh9WysbIs2MWvHVXo7FsXj7ipK9s2VNqawR0VctKPxSnjAPjIxu2Q9MQXnhegePbuLnjTfW2YyY0cKx4XU+tvKlnQbwGgw4rxmcOjuF5lkknxK6JefeHtnKXTiXgcRmEtcbVneWxfW5FsUQkIDQa62IuTs/m4THZDc4opvLmOFXgUR9+BBnIVXyUNvt8zm9DDUUTd+rGz0SDx6sQ3S6WxITp7HKAR6wEHf+eSEwquzmSrGfgAR9Vs=]]></Encrypt>
</xml>



Receive : text

POST /api?signature=3335bc3514757c602e6b1630cd84812caacb43d5&timestamp=1492791675&nonce=515316134&openid=oUN420bxqFqlx0ZQHciUOesZO3PE&encrypt_type=aes&msg_signature=c73e7c78c10c0b87846a422cce275ec0d2894ef9 HTTP/1.1
Host: wechat.hitxy.org.au
Accept: */*
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 765
Content-Type: text/xml
Pragma: no-cache
User-Agent: Mozilla/4.0
X-Forwarded-For: 103.7.30.105
X-Forwarded-Host: wechat.hitxy.org.au
X-Forwarded-Server: wechat.hitxy.org.au


<xml>
    <ToUserName><![CDATA[gh_f09231355c68]]></ToUserName>
    <FromUserName><![CDATA[oUN420bxqFqlx0ZQHciUOesZO3PE]]></FromUserName>
    <CreateTime>1492791675</CreateTime>
    <MsgType><![CDATA[text]]></MsgType>
    <Content><![CDATA[13]]></Content>
    <MsgId>6411491424278595449</MsgId>
    <Encrypt><![CDATA[02dtsmvIHONkhxYtyPivtKCkKSQ/ly8UDxxlJPecQFNZGeBMYyMtBq0ufgXJkF5AJYEa5SwSXHeJe7mSsrq5GbNbbUVzLiRERhYK7iVaQuacF/WPY1qOwbTAOHFsZfsUD1oNf64GdKh5Evx5mzXfynmonFinCDUTloWX5M8EW323XNtHcGi2eF11+KMOL9HBdQdG4kSoM/OxaSeXls+D+Co08ZNt9pMDlUvlpHzeYVhudiamxja0+FWSLDlitYENHWNN+LnXyqqfAnAb82dhzKRRSw1c+d/TGFVOYgU1NWt9fZ036qY6/JIwyFNwbFkDdYa0QAzkPJU36zxYesnGUWmu5xHjnrFpfmwG+eZSUuWbNcnu81VbrYhkaD0/4vJwk/EvFySA0Fa/r+B3Lav/d762KhZ2D+at6BD1oWRHFYA=]]></Encrypt>
</xml>



Create menu 
 {
     "button":[
     {	
          "type":"click",
          "name":"今日歌曲",
          "key":"V1001_TODAY_MUSIC"
      },
      {
           "name":"菜单",
           "sub_button":[
           {	
               "type":"view",
               "name":"搜索",
               "url":"http://www.soso.com/"
            },
            {
                 "type":"miniprogram",
                 "name":"wxa",
                 "url":"http://mp.weixin.qq.com",
                 "appid":"wx286b93c14bbf93aa",
                 "pagepath":"pages/lunar/index.html"
             },
            {
               "type":"click",
               "name":"赞一下我们",
               "key":"V1001_GOOD"
            }]
       }]
 }



 {
    "button": [
        {
            "name": "扫码", 
            "sub_button": [
                {
                    "type": "scancode_waitmsg", 
                    "name": "扫码带提示", 
                    "key": "rselfmenu_0_0", 
                    "sub_button": [ ]
                }, 
                {
                    "type": "scancode_push", 
                    "name": "扫码推事件", 
                    "key": "rselfmenu_0_1", 
                    "sub_button": [ ]
                }
            ]
        }, 
        {
            "name": "发图", 
            "sub_button": [
                {
                    "type": "pic_sysphoto", 
                    "name": "系统拍照发图", 
                    "key": "rselfmenu_1_0", 
                   "sub_button": [ ]
                 }, 
                {
                    "type": "pic_photo_or_album", 
                    "name": "拍照或者相册发图", 
                    "key": "rselfmenu_1_1", 
                    "sub_button": [ ]
                }, 
                {
                    "type": "pic_weixin", 
                    "name": "微信相册发图", 
                    "key": "rselfmenu_1_2", 
                    "sub_button": [ ]
                }
            ]
        }, 
        {
            "name": "发送位置", 
            "type": "location_select", 
            "key": "rselfmenu_2_0"
        },
        {
           "type": "media_id", 
           "name": "图片", 
           "media_id": "MEDIA_ID1"
        }, 
        {
           "type": "view_limited", 
           "name": "图文消息", 
           "media_id": "MEDIA_ID2"
        }
    ]
}



Menu Clicked Event
POST /api?signature=55f1af0ae43ab64952ac014b8e808623687c89e2&timestamp=1492826005&nonce=828717763&openid=oUN420bxqFqlx0ZQHciUOesZO3PE&encrypt_type=aes&msg_signature=dbbcbc8bea3b435be9830b4ea07faf599e3184a1 HTTP/1.1
Host: wechat.hitxy.org.au
Accept: */*
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 818
Content-Type: text/xml
Pragma: no-cache
User-Agent: Mozilla/4.0
X-Forwarded-For: 103.7.30.105
X-Forwarded-Host: wechat.hitxy.org.au
X-Forwarded-Server: wechat.hitxy.org.au

<xml>
    <ToUserName><![CDATA[gh_f09231355c68]]></ToUserName>
    <FromUserName><![CDATA[oUN420bxqFqlx0ZQHciUOesZO3PE]]></FromUserName>
    <CreateTime>1492826005</CreateTime>
    <MsgType><![CDATA[event]]></MsgType>
    <Event><![CDATA[CLICK]]></Event>
    <EventKey><![CDATA[V1001_GOOD]]></EventKey>
    <Encrypt><![CDATA[wVc64nmeL4VD+GusUXWFyVnNTPZh/QCn17AYtPKIkyLj3h7/Bp6ialT7bhw8+nWxwCx1GwhUHbyderOLLHm4GZ2D7ADf5vIZwGljW1UtjO5BnYvnJnBYfw+pAvFhIgTJwuLocFnrjJDdPKl8DhhUvDQXRLdVLpXG4eXu75YtbHQhNdVCbhfvGRnlSYZak/4rw9+JGGS8gNHI6FU6Sccp6zFBR45iCO70Ezxz3FJIXn3/rMtjAzReX3E6/i92wPqQv7AOZqNmwX/rPBlSG1F3hXwxhpsVuIutGyjCwa7u9fUNDquga8Y6jqmxpcUXuqgKhS2sP5D0LvHULULpON7yEUZDV9Q31RjD5YA8zuiYwxLuQTP7o9fsNp/x0OEHbTxtbNAHo/cMzMxEq+6SKIxerp3X9DVN4EFlqnF8XvntEXlh+dGvdZOEiF6QQsrkITSHneMelzsMucWizxW3e2hwRw==]]></Encrypt>
</xml>


receive TxtMessage

POST /api?signature=847523ccbd3d6db7ed77b78a89f4019a109bde82&timestamp=1492829058&nonce=1739586053&openid=oUN420bxqFqlx0ZQHciUOesZO3PE&encrypt_type=aes&msg_signature=8fa8be1428e6ee3d8a3332213e00bec019821677 HTTP/1.1
Host: wechat.hitxy.org.au
Accept: */*
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 771
Content-Type: text/xml
Pragma: no-cache
User-Agent: Mozilla/4.0
X-Forwarded-For: 103.7.30.105
X-Forwarded-Host: wechat.hitxy.org.au
X-Forwarded-Server: wechat.hitxy.org.au

<xml>
    <ToUserName><![CDATA[gh_f09231355c68]]></ToUserName>
    <FromUserName><![CDATA[oUN420bxqFqlx0ZQHciUOesZO3PE]]></FromUserName>
    <CreateTime>1492829058</CreateTime>
    <MsgType><![CDATA[text]]></MsgType>
    <Content><![CDATA[songbook]]></Content>
    <MsgId>6411651983041024410</MsgId>
    <Encrypt><![CDATA[3muEH/vxWRf76hHB+G4WB744Ho4Fu4RmpYYwd3R0Ek//h3dZDmuzakVztD2ecG8lB0DKV9EAJHaSp/Q4nLQM36Dg9eQQb888e6Z6nyjMX/2Na8upraDHrfR2oW1Gv8AJ0bzrYKubpk7AYtvlvNpnhQ2kDKhn5v1L/Rd8CRSb5ODJ3xDhqQqYd6R4DTr4SF8ofCrqDp0taYkMt4e0eHuCDEp+/A/PLBX1PL8Xw+kv/7eW/aoJQIapXAGMgf61/Qj9RfFmNDG6hKz1bF4CU2u/y4XV63xBepDQ7ZfOmtfALa1pIQGhHzyf5jReArmkLu4yERBzQYwc8G5eDq2WDQrrwaaiaVYo1SDNk0F88zjENobf9I+9lVAFbCly4vhdtlLbRHrUomiAjgzN3nHTza9E6NdCpsJ46C8l+1u/3H7Vq0g=]]></Encrypt>
</xml>


如果纯粹加密，没有明文
<xml>
    <ToUserName><![CDATA[gh_f09231355c68]]></ToUserName>
    <Encrypt><![CDATA[P2DoRtilYwJ1aM+VW1sGs6p11Rhcd/TrFYtvsw53SUVw2Knh27hF5IZUBxRXbz+k87zy983ec5aOwgS+WxYoejmGubaqiYy2yfCBNyGRlWfe+iWc2TnvPIEAJebSWuNOJ7FoITeMndr4tW391XxDdMom8I/VsqKnsZZAangUsxmA1ZEnP/d4Lx8/xt3qJKrJMa4Q8s9VsOOvzLIGhL1IN5bHaXN+CwgBTAUCrHD8AneiX5MLSv/74qozg+jKBSUebZrjRYuTymQ3TBh3pQXyRBQTZNrCAe1tlcNli9e5MSUMsHFIzGw/kiu93/5VkxCYRLgRDQKl9oam4+Rpxywir7EiT7I4X343l9ogcMLWX16evkLlQHoqBhLl6ZcfW7Nmq8/Ghy8jbuwqkR/0jLJ/avtjzgJOwaxdBUz4nYZ452rLJekxIvsmV6PZgCXRrKHzmpZX+i6hIRIWiIaDeMOEsw==]]></Encrypt>
</xml>

不同的密文： （相同的明文）
yKlFGV+ukblgxH7PvN6jgCGGC8TkC6J9C0F1XnvcLQKS9R5RSJYib4EZZftpyfc5x6WDfM7++vunEawNz54Gu4746byRaqQyW9G6zX7o6ro5YDGbNuYpBflwi6bNM6hncIKYb8oH3VFHEvSsUb1eg4fNwdebeEhpixDlPPbwAUXOZ7FcN6UWkSiZhZMKZNSv42+u9GK/nFEv1Fa8nW4NWNLXU4V2OFM+5d0lAGb0I9pD69IsuUFeBuJ8ZOGPB4EVKI2xODpicJkYP3ym5ePpz3GC4EFk5JwIiPw+EYbqKH0ADNhrsRHtAzLh6rjyNWCVkij68XmWBJ8I8l38a/zycFZ4uvef7ceEByvhKIVM7p/eO55NOl/F6W6hmEQwOgw/7tPjrErA4aPuijPAjgtVw0ngb32O9/XRSe91h802oyhWwnoQgTF7tZqKLpJLxM9g+BiUar/13j0eivql0B6gWg==
明文：
<xml><ToUserName><![CDATA[gh_f09231355c68]]></ToUserName>
<FromUserName><![CDATA[oUN420bxqFqlx0ZQHciUOesZO3PE]]></FromUserName>
<CreateTime>1492972518</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[CLICK]]></Event>
<EventKey><![CDATA[V1001_TODAY_MUSIC]]></EventKey>