Just
Just copied to clipboard
Swift HTTP for Humans
Apologies if this is a dumb question, but I am relatively new to Swift. I've implemented this in a little sandbox and can properly make a `post` call to my...
 ---  ---  ``` Crashed: com.apple.main-thread 0 libswiftCore.dylib 0x1977b1138 swift_isUniquelyReferenced_nonNull_native + 28 1 Just 0x105372530 specialized Dictionary._Variant.setValue(_:forKey:) + 44 (:44) 2 Just 0x10536d83c HTTP.makeTask(_:configuration:) + 420 (:420) 3...
i tried this ``` swift Just.get(url, params: params, headers: headers) { response in if response.status.code == 200 { let json = JSON(response.json!) ....... } } ``` we managed, to log...
I want to get the real link of a page from a link that redirects, such as this: https://apple.news/AQZXxg8mUQfKrEaM9MRBpxw . However, when I do Just.get("https://apple.news/AQZXxg8mUQfKrEaM9MRBpxw") { r in print(r.statusCode) print(r.url)...
In other languages this is basic functionality, but it seems its a bit more difficult to pull of in Swift/Objective C. It would be cool if Just could add this...
#1. Crashed: NSOperationQueue 0x1c002f980 (QOS: UNSPECIFIED) 0 libswiftCore.dylib 0x1064bab50 _hidden#25718_ (__hidden#25744_:608) 1 Just 0x105a5982c specialized HTTP.urlSession(URLSession, task : URLSessionTask, didCompleteWithError : Error?) -> () (Just.swift:1127) 2 Just 0x105a5982c specialized HTTP.urlSession(URLSession,...
Getting the following error when I try to run on my device: ``` ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use...