Discussion Board
Widsets and REST
2008-08-20, 21:43
#1
Nokia Developer Champion
Hi all,
Does anyone have already done something with REST webservices and widsets?
thanks
Neto Marin
Re: Widsets and REST
2008-08-21, 11:10
#2
Regular Contributor
Multiple widgets access XML APIs using Http -service and filters.
http://wiki.forum.nokia.com/index.ph...ple_Xml_Filter
You just need to defined http-service (and filter) for each different return-type that the API returns. With filters you can select that what parts of the returned xml gets transfered to the widget (minimizing traffic).
More about filters:
http://wiki.forum.nokia.com/index.ph...ions_reference
You can also combine xpath and regex filters.
Re: Widsets and REST
2008-08-21, 18:40
#3
Nokia Developer Champion
Ok, and to access a REST webservice?
Just use httpservice? How can I send the parameters?
I'm trying to access Facebook API.
Thanks!!
Neto Marin
Re: Widsets and REST
2008-08-21, 22:39
#4
Regular Contributor
http://wiki.forum.nokia.com/index.php/HTTP_service
Yes, you can send parameters, just set "params" value-list to the argument you sent to httpservice.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules