Getting the following error when trying to run the API with PHP:
Catchable fatal error: Object of class Unirest\Response could not be converted to string
Here is how I am implementing it with PHP:
“X-Mashape-Key” => “RBaR00xcwwmsh87WFynWrdXlO9xzp10N94YjsnKVQlAYBL0WwA”,
“Accept” => “text/plain”
Please help me solve this issue.
Join in the discussion - add comment below: