I am making a post request, which has an empty response
AF.request(URL(string: "some url")!, method: .post, parameters: parameters, encoding: URLEncoding.default, headers: nil)
.validate()
.publishDecodable(type: T.self)
.value()
.eraseToAnyPublisher()
where T is
struct EmptyResponse: Codable {}
and I am having this error "Response could not be serialized, input data was nil or zero length." How do I handle a post request with an empty response using Alamofire and Combine?