When working with the IBM Connections REST API all responses are returned with the application/atomsvc+xml Content-Type which makes it not show up natively in the browser (or at least in Firefox). A quick solution is the install the Force Content-Type extension and change the Content-Type to text/xml on the fly to make the result show up in the browser. Rules are quick and easy to define.
Tag: rest
Searching Profiles programmatically
As part of IBM Connections you will find a big REST API that allows you to work with almost every part of Connections such as searching for profiles, managing files and working with communities. As part of our new product (see my previous post) I’m doing a lot with this API. Right now one of my favorite wiki documents is “Searching Profiles programmatically“.
Knowledge path: RESTful web services
Found an excellent summary article on developerWorks called Knowledge Path: Build RESTful web services with Java technology. It has some very good information and links to articles split into 5 sections:
- Understand REST concepts
- Meet the Java API for RESTful Web Services (JAX-RS)
- Build RESTful applications with Java frameworks
- Combine REST with the Java Persistence API (JPA)
- Create RESTful web services with IBM WebSphere sMash
Great reads right there!
RESTlets in Jersey
REST services are very in so you might want to read this article (Configuring JSON for RESTful Web Services in Jersey 1.0) on how to use the Jersey REST framework. RESTlets is another Java API trying to standardize how to develop REST services using Java.