NetworkingExample
NetworkingExample copied to clipboard
Write a Networking Layer in Swift 4 using Alamofire 5 and Codable
responseSerializationFailed(reason: Alamofire.AFError.ResponseSerializationFailureReason.inputDataNilOrZeroLength)
i'm not able to add any parametre to GET request , any help ?
For success case decoders work as aspected. But in error cases we have different json response. How can we handle error cases?
Absolutely great articles, but I have a question. It seems that the 'happy path' is handled within the project but I'm wondering how I go about handling an error that...
How to get bearer base64 value from return response.. urlRequest.setValue("Bearer (base64 value)", forHTTPHeaderField: "Authorization")
Wonderful way to parse Json but way to generate URLRequest why ?? switch case case case case case imagine only 30 API I think will be a lot of cases...