Yes they are two different things.

Thing 1: I have an SQLRPGLE service program that provides json data
to an application server that I set up using IWS.  If I type the url
for that web service into most any browser I get a screen like this:

dayOut "2019-03-06 is a Wednesday"
httpStatus 0
httpHeaders
0 "Valid day-name was found."

That is Thing 1 and works just fine.  Very happy with it.

Thing 2: Now we need to consume the data.  Just telling the web
people "Here's the data!" works but puts everything out of our
control.  So I want a web server, on the i, serving up that data in
the way I want it served up.  That's where my latest round of
troubles start.   Can I put the web page on the same server as
provides the web services?  I have no idea, i don't even want to
know.  I can consume that data off my PC's browser with no problem
but from a server at the same root url?  Things go all wobbly, which
I suspect is a reflection upon my ignorance of the processes involved.



On 4/7/2019 7:32 PM, Scott Klement wrote:
Booth,

Are you confusing Web Services (APIs) with Web Pages?  These are two completely different things. I don't understand what home pages have to do with web services. If you have some reason why they'll need to work together in your scenario, please explain it.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.