Top "Moya" questions

Open source network abstraction layer that encapsulates calling Alamofire directly.

How to pass the JSON body with POST request in moya

I'm using the moya library to make a POST request. In TargetType, I couldn't able to see any property to …

ios swift moya
How to upload image using multipart request with Moya Swift?

I'm using Moya 10.0.1 and I'm having a problem when I'm trying to upload an image to the server. I did …

ios swift multipartform-data moya
Using retryWhen to update tokens based on http error code

I found this example on How to refresh oauth token using moya and rxswift which I had to alter slightly …

ios swift alamofire rx-swift moya
Swift Moya sending parameters as JSON in request body

This is how my Endpoint looks: extension MyEndpoint: TargetType { var baseURL: NSURL { return NSURL(string: "http://10.0.1.13:5000")! } var path: String { switch …

swift moya
Enum element cannot be referenced as an instance member

I'm creating an API layer using Moya and keep getting the above mentioned error for the .updateMyWeightGoal target when I'm …

ios swift enums objectmapper moya