I'm trying to use Swift to make a GET call to a REST API, and have tried to follow numerous tutorials, but can't figure it out. Either because I cannot figure out how to translate all the Obj-C to Swift, or because half of the methods n' such are deprecated. Does anyone know how to make the call, and parse returned JSON data?
相关问题
- Angular RxJS mergeMap types
- Design RESTful service with multiple ids
- Core Data lightweight migration crashes after App
- Axios OPTIONS instead of POST Request. Express Res
- Plain (non-HTML) error pages in REST api