Hello
I'm a developer trying to get the contents of a table residing on a confluence page, but I can only seem to get the HTML source for the page, but not the data that resides in the table.
Any advice, if possible, on how to get the contents of the table that resides in this page would be appreciated!
Regards
Brage
My current code:
Integer li_ret
String ls_string
li_ret = lnv_HttpClient.clearrequestheaders()
li_ret = lnv_HttpClient.setrequestheaders("Content-Type:text/html;charset=UTF-8;UserID:xxxxx;Password:xxxxx")
li_ret = lnv_HttpClient.GetResponseBody(ls_string, EncodingUTF8!)
li_rc = lnv_HttpClient.SendRequest("GET", "https://<MYURL>/wiki/spaces/MSW/database/2849210383")
if li_rc = 1 then
li_ret = lnv_HttpClient.GetResponseStatusCode() if li_ret = 200 then
li_ret = lnv_HttpClient.GetResponseBody(ls_string, EncodingUTF8!)
end if
end if