Question: I want to get/input value to webpage.

All my effort so far works until web loading only. I have no knowledge in web. I can't provide the website link as it's an *intranet* web.

`done lin.e 50` is the place where I want to put my input

then click `save button`

```
<td valign="top" class="s bgltgray">
    <textarea id="txtResponse1" name="txtResponse1" cols="80" rows="3" class="s">done lin.e 50.</textarea>
    <input type="submit" id="cmdRespond1" name="cmdRespond1" value="Save" onclick="cmdRespond_click(1);">
    <br> Latest Response By: samyvelu, On: 10/23/2017
</td>

```

Answer: 
`invokeApi()` function already parses the response data to a object of type `Dictionary<String, Any>`. So there is no need to convert it to a Object by using `JsonDecoder().decode()`.
You can try Decodable protocol:

```
do {
   let myStruct = try JSONDecoder().decode(MyStruct.self, from: data)
      // do what you want here with MyStruct
      // ...
} catch let error {
      // catch error and handled it here
}

struct MyStruct: Decodable {

   let content: Content
   let destination: String
   let hash: String
   let status: Bool
   let type: String
}

struct Content: Decodable {

   let createDatetime: String
   let expireDatetime: String
   let expiresIn: Int
   let refreshToken: String
   let token: String
   let valid: Int
}

```