Tag Archives: resttemplate
Sending cookies with RestTemplate
Sometimes it is necessary to send cookies along with requests to a RESTful API. One such example is the JIRA 4.3 API, which requires sending the JSESSIONID to JIRA for session management and authentication purposes. REST purists point out that … Continue reading
Posted in Chapter 11 - CMDB, Quick Tips
Tagged cookies, jira, rest, resttemplate, web services
Leave a comment
Calling the GitHub API using Spring’s RestTemplate
GitHub has an RESTful JSON API that we can call from our apps. In this post I’ll show how I’m grabbing a GitHub repo’s watchers and pull them into my own app using Spring’s RestTemplate. Meet the GitHub API First, … Continue reading
Posted in Chapter 11 - CMDB, Tutorials
Tagged github, github api, rest, resttemplate, web services
3 Comments
