A Cross-Origin request blocked error happens when a web application tries to access resources - like a REST WebApi - that are placed in a different domain.
Postman is a REST client for testing web services. Available as a standalone application for Windows, MacOS, and Linux and as chrome extension, it is a must-have tool for developers working with Web API.
In this tutorial we will see how to upload an image from the photo gallery to a server using Swift 3.
A Promise is an object that represents the result of an asynchronous operation. Promises make easier working with asynchronous calls, and make for cleaner, and easier to understand code. The PromiseKit project allow us to add promises to our Swift projects.
A simple guide through examples to ObjectMapper: although using a mapper library is not strictly required, doing so will allow us to map JSON into objects in a quicker, and easier manner.
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.
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.
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.
Simple REST request in Swift 3. A quick guide, through examples, to the most commonly used features of Alamofire.