Sorry if this is a dumb question…
Are you able GET users/search the Twitter API with your client?
Hello. I’m new to web development, so I was wondering if your script could help me to communicate with the Restful API of the following service: https://www.passslot.com/developer/api/resources#template-pass-generation
My intention is to retrieve the data submitted by the user throughout a form on WordPress, let’s say it’s a Contact 7 form, and then do a “Post” to create a pass for Passbook using the service API, which At the moment we only support JSON response format.
Thanks in advance for your attention.
sorry for the delay, yes.
How do I add a PHP variable to the request URL?
$request = $data->request('localhost/v1/objects/object_8/records/$myPHPvariable' ,'get','json');
There is a bug in the setAuth function. The username is being duplicated twice in the generated Basic string.
Turn on debug and copy and paste the resulting string to
Unfortunately, I don’t know how to fix this bug. Please help!
I have just purchased your script and cannot get it working as I keep getting an error when calling the class. “500 Internal Server Error”.
PHP Version = 5.4.34
PHP Error log reports: -
“Call to undefined method myRest::auth() in /Sites/dev/BZDash8/REST/getHeatmap3.php on line 46”
Line 46 of my code is as follows:
Complete code section is as follows – the $url is a FQDN and works with other CURL methods. $parameters is the correct format for the POSTFIELDS part of the CURL and works with other CURL methods:
$data_string = json_encode($parameters);
$restCall = new myRest();
$restCall->auth(‘Stuart’,’1234’); // user/pass to basic auth
$restCall->addParam($data_string); // POST param
$response = $restCall->request($url,’POST’,’JSON’);
Found the problem. The provided documentation has an error. Should be $data->setAuth(‘username’,’password’); and not $data->auth(‘username’,’password’);
When making a POST the class appears to add an additional [ at the beginning of my JSON string and a ] at the end. This causes an error of 415 Unsupported Media Type. How can I get this to stop occuring please
Does this support OAuth?
just curious, the wordpress login seems cool but would could you do programmatically after you login? any examples?
Hello. I’m new to web development, so I was wondering how to create dice road with your script ?
any latest update on this ? is it still work for youtube API and twitter API ?
hi, how to add params in forms data ? like this http://prnt.sc/b4w91o . please
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $3
Unlimited downloads only
$29 p/m on Envato Elements
Download over 18,000 items now
Learn almost anything with
Envato Tuts+ for free
9000 free tutorials, 3000 paid courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work