08-07-2024 04:12 PM
Hello:
Is there a way to Send PDF file as binary string to Web Service Client from a LabVIEW Web Service? Is there any sample code I could use?
Solved! Go to Solution.
08-09-2024 12:37 PM
OK, streaming a .* pdf file from a LabVIEW Web Service (GET) when run in DEBUG mode did NOT work. All attempts kept returning BAD REQUEST Error = 401
-- However, after compiling and deploying the Web Service to NI Web Server, both POSTMAN and LabVIEW Web Service Client worked OK!
-- Attached are illustration in support of the above.
Bottom Line:
-----------------
LabVIEW Web Services works well (OK) in streaming a *.pdf file to a web service client.
Both:
(a) POSTMAN web service tool, and
(b) LabVIEW web Service client
. . . successfully received the streamed file via Https GET API request.
Anthony Lukindo
Mezintel Inc.