The endpoint is not working
https://eonet.sci.gsfc.nasa.gov/docs/v2.1
Even though I change endpoint to
https://eonet.gsfc.nasa.gov/api/v3
I still have problem in this part
return URLSession.shared.rx.response(request: request)
.map { (result: (response: HTTPURLResponse, data: Data)) -> T in
let decoder = self.jsonDecoder(contentIdentifier: contentIdentifier)
let envelope = try decoder.decode(EOEnvelope<T>.self, from: result.data)
return envelope.content
}