Sunday, March 02, 2014

How to test a REST API

You have implemented the perfect REST API and now it's finally time to test it, but how?

For some time I have used Fiddler and liked it. It's pretty simple to use for the basic tasks like sending a POST request and watching the result. The application feels a little crowded with functionality but can probably do a lot of things that I haven't discovered yet. And there's that growingly annoying thing with applications, they have to be installed...

An alternative is Postman. This is a Chrome application, simple to use and have all the functionality I have needed so far. Postman has become my favourite and I will probably remove Fiddler from my machine.

Thursday, February 27, 2014

Full REST functionality with limited number of methods

This is a blog post about how to re-direct web request, e.g. transform a POST message to a PUT message. Sometimes only POST and GET methods are allowed due to corporate policy, but with this method it's still possible to send PUT or DELETE messages. The secret is new header parameter ("X-HTTP-Method-Override") and some code (of course).

Tuesday, February 25, 2014

Sunday, February 23, 2014

New blog address

The blog's address is now (the old address still works).

During the change to the new address, my blog list disappeared. A warning this would happen could have been nice... So I need to add blogs to the list, and I found a couple of new blogs that I previously hadn't seen. The list will be updated.

Monday, February 17, 2014

8 developer shortcuts that will cost you big

InfoWorld lists eight ways for a company to pay more than expected on software projects. See this article.

I think that number seven ("No learning for learning's sake") is perhaps the most important. A developer most continuously develop their own knowledge.