AladinWay/NetworkingExample

Problem in sending Query and Field parameters

Closed this issue · 1 comments

How to send query parameters and field parameters in URL request?

As you can see in

we are assuming that paranmeters are the body HTTP parameters of the requests but you can change the APIRouter.swift from having only private var parameters: Parameters? to having two variables one private var queryParameters: Parameters? and the other private var queryParameters: Parameters? and then add those parameters to the URLRequest in here
func asURLRequest() throws -> URLRequest {