Top "Alamofire" questions

Alamofire is an HTTP networking library written in Swift.

Any way to get the response body during HTTP errors?

I'm hitting an API that will occasionally throw a HTTP 403 error, and the response body can give some extra information …

ios swift httpresponse alamofire http-status-code-403
AlamoFire does not respect timeout interval

class APIClient { var user = User() let alamoFireManager : Alamofire.Manager? let center = NSNotificationCenter.defaultCenter() init(){ let configuration = NSURLSessionConfiguration.defaultSessionConfiguration() configuration.timeoutIntervalForRequest = 4 // …

ios swift alamofire
Handle No Internet Connection Error Before Try to Parse the Result in Alamofire

How should I handle if there is an error occurs when there is no internet connection in Alamofire. I tried …

ios swift swift2 alamofire
post application/x-www-form-urlencoded Alamofire

I want to use Alamofire to retrieve a bearer token from Web API but I am new to ios and …

ios swift2 alamofire
Get JSON result with GET request and parameters with Alamofire

This is my url String with paramaters. http://api.room2shop.com/api/product/GetProducts?categoryId=22&filter=2&pageNumber=1 …

ios swift alamofire swifty-json
Alamofire 4 upload with parameters

I'm doing the below to upload a PNG file with parameters: Alamofire.upload( multipartFormData: { multipartFormData in multipartFormData.append(UIImagePNGRepresentation(tempImage!)!, …

swift3 alamofire
Handling XML data with Alamofire in Swift

I started to use cocoapods with my current ios project. I need to use SOAP to get content with easy …

ios xml swift alamofire
Best way to Cache JSON from API in SWIFT?

I need to cache json data from API in swift. So I researched a Lot & get to this Post. …

ios json swift caching alamofire
Alamofire Xcode 8 Swift 3 results in 786 compile errors

I am using the Xcode 8.0 GM. I created a default single-view app with my deployment target set to 9.0. In my …

ios swift xcode cocoapods alamofire
Command /bin/sh failed with exit code 1 and Embedded pods framework

Not able to identified actual issue, During updating coco pod getting a message "Re-creating CocoaPods due to major version update." (…

ios xcode swift alamofire code-signing