May be
Sub upa()
Dim URL2 As String: URL2 = "https://api.restb.ai/segmentation?client_key=c529e4cb36fd71a0038e5790fd69a42eacaf378fa0789bba78b9782e073b88ed&model_id=re_features&image_url=https://www.mulderteam.com/wp-content/blogs.dir/234/files/2013/04/110922317.jpg"
Dim Http2 As New WinHttpRequest
Http2.Open "GET", URL2, False
Http2.send
Dim Resp As String: Resp = Http2.responseText
Dim Lines2 As Variant: Lines2 = Split(Resp, vbNewLine)
Debug.Print Lines2(0)
For k = LBound(Lines2) To UBound(Lines2)
ActiveSheet.Cells(1 + k, 1).Value = Lines2(k)
Next k
End Sub
Bookmarks