B4X FEED Trying to Downloading an image from Octoprint - how to resolve the URI

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Trying to Downloading an image from Octoprint - how to resolve the URI است. این موضوع تا کنون 22 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Trying to Downloading an image from Octoprint - how to resolve the URI
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
22
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Trying to grab an image from octoprint.
I have all the needed into it seems I need to combine the path

Help from the octoprint discord pointed me at this.
val imageUrl = " ".toHttpUrl().newBuilder(file.thumbnail).build()

Tried a few things for the last hour or 2
I have all the needed info from the REST API call just cannot figure out how to combine them to a usable URL.

Anyway, just wonder if anyone could point me in a direction.

** FYI: I live in a city that is... Well the Internet is spotty at best (if it works at all) but that's another story for another place.
Forgive me if it takes a while for me to reply. **

 

عقب
بالا