-
Stephan Schröpel
- PowerBuilder
- Tuesday, 25 March 2025 03:37 PM UTC
Hi Powerbuilder Developers
I try to get a png from google maps api.
It runs well in Postman, in Powerbuilder I get statusCode200 and GetResponseHeader("Content-Type") says 'image/png', GetResponseHeader("Content-Length") is 146991.
Good so far, I think I got the image!
But how can I get it into a blob? GetResponseBody (lbl_picture) and FileWrite(lbl_picture) produces a 0 KB File.
What is missing? I tried with strings and encoding without any change.
What is the missing step? I didn't find an example in CodeExchange
Thanks to all
Stephan
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.