I'm obviously a beginner, so all the links/advice is appreciated. I haven't played around much with APIs and I'm trying to learn.
I am curious about how to get/or display the image from an API call.
In particular, I am playing with https://developer.zebra.com/apis/barcode-generate and I can obviously utilize their swagger service to get/display it there, but I wonder what it takes to display it on a web app, place it on a PDF, or something similar? Do you capture the call and break it into a byte array or do you use a stream and make it a FILE?
For the moment, I am using ASP.NET Core Web App API to try and do this. Most tutorials for API's are building your own and don't involve breaking down an API call, especially when you have to have the apikey in the header.
Again, thanks for any tips/links!
https://stackoverflow.com/questions/67309757/how-to-get-the-qr-code-image-from-an-api-call April 29, 2021 at 09:06AM
没有评论:
发表评论