damlacim/API-Request-Tutorial

We use Codable but we should use Decodable instead

Opened this issue · 0 comments

Reason is because Codable is consisted of two protocols: Encodable and Decodable. However, what we are doing is decoding the response coming from api and we are not sending a POST request where we encode the data.