How to print HTTPBody using alamofire multipart request Swift
Right now I am trying with below code but app crash on this line
print("HTTP Body \(String(data: (response.request?.httpBody)!, encoding: .utf8) ?? "HTTP body not found")")
I am using multipart request
I want to print like this HTTPBody
// HTTP body: foo=bar&baz[]=a&baz[]=1&qux[x]=1&qux[y]=2&qux[z]=3