Developers Log

A blog about software developing and technology



When Alamofire returns .Success on error HTTP Status codes

By default Alamofire treats any completed request as successful: as long as it can connect to server, and the server responds, it will consider that everything is OK. This means you will be getting a .Success even on this situations when the HTTP status code returned on those calls corresponds to some 4xx HTTP error code.

Swift 3 on Linux: software development

Is Swift viable in Linux? what kind of applications could I build? In order to provide some insights on those questions, I decided to start building a simple program: a REST client that would send data to an Azure based mobile service.

Azure Easy tables: a backend in 5 minutes

With Azure we can quickly create a backend for our mobile/web applications. Learn how to set up an Azure backend using easy tables, and mobile/web services.

Swift 3: Simple REST with Alamofire

Simple REST request in Swift 3. A quick guide, through examples, to the most commonly used features of Alamofire.

Basic authentication in Swift 3.0

In this post we will see how we can connect to a RESTFUL service that uses basic authentication in Swift 3.0 using Alamofire, or URLRequest

http request blocked: meet App Transport Security

App Transport Security was intended to protect the user's privacy; Its most immediate affect, however, has been to greet iOS developers around the world with the following error message: App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.

Adding Web API Support to an Existing ASP.NET MVC Project

In this post we will see how to add Web API support to an existing MVC project. Sometimes we have a project that started as simple ASP.NET MVC site, maybe even as one single page project, with no more functionality that display some simple information in the screen. As the time goes by new needs arise, new features are requested, and it becomes convenient to develop a Rest API that will be used by the client to query the server for more information.

Blog at

Up ↑