Swift Get NFT by Wallet

Hello
I want to know how to get nft informations using “GET NFT BY WALLET”
Now I’m doing get body of data, but I don’t know how to get that.

I check status code 200, and all is fine.
but, I don’t know where the code is in it getting information.

Isn’t the code “request.httpbody” means data?
but the code prints nil.

func getNFT(_ walletAddress: String){
        let headers = [
            "accept": "application/json",
            //여기에는 moralis에서 만든 api key를 넣어줍니다.
            "X-API-Key": "***"
        ]
        
        let request = NSMutableURLRequest(url: NSURL(string: "https://deep-index.moralis.io/api/v2/\(walletAddress)/nft?chain=eth&format=hex")! as URL,
                                          cachePolicy: .useProtocolCachePolicy,
                                          timeoutInterval: 10.0)
        request.httpMethod = "GET"
        request.allHTTPHeaderFields = headers
        
        let session = URLSession.shared
        let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
            if (error != nil) {
                print(error as Any)
            } else {
                let httpResponse = response as? HTTPURLResponse
                print("body: \(request.httpBody)");
                print("httpResponse:\(httpResponse)")
            }
        })
        //print(dataTask.response)
        dataTask.resume()
    }

based on this url

https://stackoverflow.com/questions/24016142/how-to-make-http-request-in-swift

the code could look like this:

let url = URL(string: "http://www.stackoverflow.com")!

let task = URLSession.shared.dataTask(with: url) {(data, response, error) in
    guard let data = data else { return }
    print(String(data: data, encoding: .utf8)!)
}

task.resume()

meaning that the response could be in that data variable

Thank you.
I have other question using nft info.

I want to get nftInformation and
want to use another view.

But The walletInfo.walletaddress can’t save walletAddress.
I upload two screens WalletInfo and ProfileView


It seems to be something specific to swift on how to update the data for an object. I don’t know the answer now