Apsara free message api, Apsara interface, and message api

Source: Internet
Author: User

Apsara free message api, Apsara interface, and message api

We all know that Apsara can send text messages for free, but Apsara does not have an official interface. Therefore, you cannot use the official mobile interface to send text messages for free, however, some cracked interfaces can still be used.

GET method:

Submission format

Http://66.zzuobiao.sinaapp.com/get.php? Tel = Mobile Phone Number & pwd = PASSWORD & aim = recipient's number & text = text message content

Return the excess content in the current status is returned by China Mobile and can be ignored. If no content is returned or the sending is successful, the sending fails.

Make sure that the recipient is a friend of Apsara before sending the email.

POST method:

Http://66.zzuobiao.sinaapp.com/post.php

The parameter is the same as the GET method: tel = Mobile Phone Number & pwd = PASSWORD & aim = recipient's number & text = SMS content

PHP implementation:

Make sure that the recipient is a friend of Apsara before sending the email.

<? Phpheader ("Content-type: text/html; charset = UTF-8"); // GET method $ ch = curl_init ("http://66.zzuobiao.sinaapp.com/post.php? Tel = Mobile Phone Number & pwd = PASSWORD & aim = target mobile phone number & text = SMS content "); curl_setopt ($ ch, CURLOPT_RETURNTRANSFER, true); // curl_setopt ($ ch, CURLOPT_BINARYTRANSFER, true); // when CURLOPT_RETURNTRANSFER is enabled, echo $ output = curl_exec ($ ch); echo $ output; // POST method $ url = 'HTTP: // 66.zzuobiao.sinaapp.com/post.php/'; $ fields = array ('tel '=> '', 'pwd' =>'', 'aim' => '', 'text' => '27',); // $ post_data = implode ('&', $ fields); // open Connection $ ch = curl_init (); // set the url, number of POST vars, POST datacurl_setopt ($ ch, CURLOPT_URL, $ url); curl_setopt ($ ch, CURLOPT_POST, count ($ fields); // When enabled, a conventional POST request is sent. The type is application/x-www-form-urlencoded, just like form submission. Curl_setopt ($ ch, CURLOPT_POSTFIELDS, $ fields); // the "POST" Operation in HTTP. If you want to transfer a file, you need a file name starting with @ ob_start (); curl_exec ($ ch); $ result = ob_get_contents (); ob_end_clean (); echo $ result; // close connectioncurl_close ($ ch);?>


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.