× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Glad you go it to work in the end! I expect most of us struggled in the same way you've done so I wouldn't beat yourself up about it, it's pretty hard to learn in isolation and the most important thing is that rather than give up, you've plugged away at it, asked questions and got it to work. It does get easier - honest!



________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxx> on behalf of Booth Martin <booth@xxxxxxxxxxxx>
Sent: 15 December 2018 04:00
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Header set Access-Control-Allow-Origin for web services

This all has been a struggle for me A real struggle since July. This
was the last piece of the puzzle for me and, dang... this worked!
Thank you Tim, and every one else who helped.

Final comment: Now that I know how to do it, it is incredibly easy.
Plus, the results are stunning to me. Giving super users the data they
need just moved into the Land of Easy-Peasy.


On 12/11/2018 7:47 AM, Tim Fathers wrote:
set-up a reverse proxy mapping like this in the IBM i HTTP server:

"Client requests" "/TheCoop/api""http://localhost:10000/TheCoop";

This should give you:

*"https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fi.server.com&amp;data=02%7C01%7C%7Ca8e80f6748d64079c98208d662398831%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636804396563857317&amp;sdata=f2R1s54DD%2BsjTomHCGHqySt2rXCKfB5wRgD44Q%2F78gI%3D&amp;reserved=0";; will open the general landing page.
*"https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fi.server.com%2FTheCoop&amp;data=02%7C01%7C%7Ca8e80f6748d64079c98208d662398831%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636804396563857317&amp;sdata=YOg1DHclmB2IglZVcxTRd1h5LbE6Ywls%2B2gTugd%2FxSo%3D&amp;reserved=0";; will open landing page /TheCoopHome to display all 6 services.
*"https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fi.server.com%2FTheCoop%2Fapi%2FF2C%2F90&amp;data=02%7C01%7C%7Ca8e80f6748d64079c98208d662398831%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636804396563857317&amp;sdata=D87ySBriy0K7KkCttQLrQxoBAomuI7o9Td6e4m7dBZ4%3D&amp;reserved=0";; will directly return 32.44 degrees. <-- this is being proxied to the web service at port 10000!!
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&amp;data=02%7C01%7C%7Ca8e80f6748d64079c98208d662398831%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636804396563857317&amp;sdata=%2BhUnCp9aPhhCoTrfexZEaZ0sOkQw9Twh9HYlCDv18Pg%3D&amp;reserved=0
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&amp;data=02%7C01%7C%7Ca8e80f6748d64079c98208d662398831%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636804396563857317&amp;sdata=VySyRRjjWiJaB1znQmb443SF1QnbOwRvaoDDhmb3BdU%3D&amp;reserved=0.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.