Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2010

Joomla! 5.x Coding • Re: Using the Webservices API to read an article

$
0
0
I can successfully read the contents of an article with cURL (I think I may have already written that). I can also read the contents of the same article with Postman. That would seem to indicate that everything is set up as it should be at the webservices server side. I think it is safe to assume that Postman does not use the Joomla Framework - and that's where I'm have a problem.

I am suspicious that variable $response in the line
$response = $http->request('GET', $uri, $dataString, $headers, $timeout)   ;
needs to be initialized as something that it is not currently. It is apparently a "Http Response Object". I cannot see how to see its contents. I am especially interested in the 'text' field but ... What am I missing?

Statistics: Posted by davidascher — Fri Mar 29, 2024 9:31 pm



Viewing all articles
Browse latest Browse all 2010

Trending Articles