shyamalayathish / missed-call-otp

Automatically exported from code.google.com/p/missed-call-otp
0 stars 0 forks source link

method not supported Exception #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

        $response = \Unirest\Request::send('POST',"https://motp.p.mashape.com/v1/OTP/<api_key>/<session_id>", array(
                    "private" => "<my private key>"
                        ), array(
                    "X-Mashape-Key" => "<my mashape-key>",
                    "Content-Type" => 'application/x-www-form-urlencoded',
                    "Accept" => "application/json"
                        )
        );      

        print_r($response);

Original issue reported on code.google.com by r.si...@mediaindia.eu on 29 May 2015 at 6:03