Restlet Blog

Latest

By: | Date: December 22, 2016 | Write a comment

DHC is a powerful HTTP client that allows you to send, parameterize, and chain requests. It’s also possible to get their results and validate them with assertions. Also, when chaining requests, some of them will need to use the contents of a response from a previous request. To meet this need DHC offers a powerful […]

Read more
By: | Date: November 17, 2016 | Write a comment

In the previous part of the article, we introduced the new features that the stable version of Angular 2 provides. We focused on providing a starting project with everything configured for our needs using Angular CLI. It’s time to implement processing specific to our use case. Let’s start by configuring the application routes. Organizing application […]

Read more
Categories: APISpark, Products, REST
By: | Date: November 04, 2016 | Write a comment

A few months ago when Angular 2 went into beta, we published an article describing how to implement a front-end application interacting with a Web service. Angular 2 recently moved into a final version with some additional changes. In this article, we will provide an update to the initial article and focus on the new […]

Read more
Categories: APISpark, Products, REST
By: | Date: October 13, 2016 | Write a comment

In a previous blog post, we introduced the API testing support of DHC. We described the power of this tool to test REST services and web APIs by combining requests and assertions. During the summer, a new version of DHC was released extending this testing support by providing a new dedicated view. This view leverages […]

Read more
By: | Date: September 27, 2016 | Write a comment

You’ve probably already seen errors like the following one in the JavaScript console of your browser, when trying to execute AJAX requests: At first sight, it’s difficult to understand what’s happening and find out where the problem is coming from. What we can be sure of is that the errors are related to the CORS […]

Read more
Categories: Ecosystem · Tags:
By: | Date: August 29, 2016 | 2 comments

The HTTP support allows us to interact with remote servers within HTML pages leveraging reactive programming. That being said it suffers from limitations at the level of the API itself. The API wasn’t as easy to use as that of version 1 and this can create difficulties for writing concise and robust code. Moreover, it […]

Read more
Categories: API design, APISpark, Ecosystem, Projects · Tags:
By: | Date: May 30, 2016 | Write a comment

Mobile applications are specific since they need to handle devices of limited size. For this reason, they leverage specific UI mechanisms and gestures. In order to implement efficient applications of this kind, we need to follow proven patterns described in the following links : https://www.google.com/design/spec/material-design/introduction.html# https://storage.googleapis.com/think-emea/docs/article/MobileAppUX_Principles.pdf We won’t go further here but we will describe […]

Read more
Categories: Ecosystem · Tags: , , ,
By: | Date: April 18, 2016 | 17 comments

In the previous part of the article, we dealt with the way to manage data from a RESTful service and to link requests with form elements. We now tackle global issues like request interception, error handling, security, and retry. Intercepting requests The request interception feature isn’t provided out of the box by Angular2. That said, […]

Read more
Categories: APISpark, Products, REST · Tags: , , , , , ,
By: | Date: April 12, 2016 | 15 comments

In the first part, we set up in APISpark the RESTful service we will use all along this article. We then deal with the foundations of the HTTP support of Angular2. In this second part, we will go further by describing more advanced issues. Defining request options Some data are common to every requests and […]

Read more
Categories: APISpark, Products, REST · Tags: , , , , , ,
By: | Date: April 08, 2016 | 2 comments

We previously described how to implement and structure an Angular2 application in front of a RESTful service in the article “Implementing an Angular2 frontend over an APISpark hosted Web API”. This article provides the foundations, but we can go further leveraging concepts of Reactive Programming. We published a detailled article on the JAXenter website about […]

Read more
Categories: APISpark, Products · Tags: , , , ,