LANSA Web-API - Model-B configuration - PDF
Posted: Tue Aug 22, 2023 12:16 am
Hi again,
at a customer we have a working Model-B configuration to access JSON-Web-APIs that we've created with VL.
These APIs are located on an IBMi, the webserver is a Windows PC with IIS.
Access to the API is e.g. via an URL like this: https://IBMi-IPadress:portnumber/LANSA-API/Request...
For this Model B configuration, no LANSA HTTP server is active on the IBMi.
Now the customer wants to have access to PDF files that are located in an IFS folder on the same IBMi.
Is it possible to realize an access to a PDF file like https://IBMi-IPadress:portnumber/LANSA-API/PDF/mypdf.PDF?
Which configuration files have to be adapted for this? Can this be done inside of LANSA Web Administrator or in IIS on the webserver PC?
Many thanks in advance,
Joerg
at a customer we have a working Model-B configuration to access JSON-Web-APIs that we've created with VL.
These APIs are located on an IBMi, the webserver is a Windows PC with IIS.
Access to the API is e.g. via an URL like this: https://IBMi-IPadress:portnumber/LANSA-API/Request...
For this Model B configuration, no LANSA HTTP server is active on the IBMi.
Now the customer wants to have access to PDF files that are located in an IFS folder on the same IBMi.
Is it possible to realize an access to a PDF file like https://IBMi-IPadress:portnumber/LANSA-API/PDF/mypdf.PDF?
Which configuration files have to be adapted for this? Can this be done inside of LANSA Web Administrator or in IIS on the webserver PC?
Many thanks in advance,
Joerg