Fetion free mail API, Fetion interface

Source: Internet
Author: User

We all know that fetion is able to send text messages for free, but fetion and no official interface, so can not borrow the official mobile interface to achieve free text messaging, but there are some cracked interface can be used.

Get method:

Submission format

Http://66.zzuobiao.sinaapp.com/get.php?tel= Mobile phone number &pwd=password&aim= The other number &text= SMS content

Return the current state of excess content for China Mobile return can be ignored, if there is no return content or did not return a successful send, it indicates that the send failed

Please make sure that your partner is a fetion friend before sending.

Post method:

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

Parameters with Get method: tel= mobile phone number &pwd=password&aim= The other number &text= SMS content

Using PHP Implementation:

Please make sure that your partner is a fetion friend before sending.

< Span style= "margin:0px; padding:0px; border:0px; Color:rgb (55,55,55) ">

<?phpheader ("content-type:text/html; Charset=utf-8 ");//get method $ch = Curl_init (" http://66.zzuobiao.sinaapp.com/post.php?tel= phone number &pwd=password&aim = Target phone number &text= SMS Content "); curl_setopt ($ch, Curlopt_returntransfer, true); Get Data return curl_setopt ($ch, Curlopt_binarytransfer, true); Retrieve data when Curlopt_returntransfer is enabled returns echo $output = Curl_exec ($ch);               echo $output;//post method = ' http://66.zzuobiao.sinaapp.com/post.php/'; $fields = Array (' tel ' = = '),  ' pwd ' = ' = ', ' aim ' + ', ' text ' = ', ', '/' $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 regular post request is sent with the type: application/x-www-form-urlencoded, just as the form was submitted.

curl_setopt ($ch, Curlopt_postfields, $fields); The "POST" operation in HTTP. Suppose you want to transfer a file. Requires a file name Ob_start (), Curl_exec ($ch), $result = Ob_get_contents (); Ob_end_clean (); echo $result; Close Connectioncurl_close ($ch);? >



Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Fetion free mail API, Fetion interface

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.