From: Gustaf N. <ne...@wu...> - 2017-04-03 08:04:04
|
Since NaviServer 4.99.12 (Aug 2016) NaviServer one can use in NaviServer "ns_http" for https://* requests [1]. Newer versions of OpenACS use in these cases already "ns_http" instead of the old "ns_ssl", when the NaviServer version is sufficiently new. -g [1] https://bitbucket.org/naviserver/naviserver/src/97a26da29a5deadcd495ed175ef80cf0a41582c5/NEWS?at=default&fileviewer=file-view-default#NEWS-512 Am 02.04.17 um 23:46 schrieb iu...@iu...: > I replaced [ns_http RUN -method GET ...] to [util::http::get ..]. > Now I can see the request result and I 'm able top proceed writing a > parsing code. Furthermore, I noticed a warning about this OACS ad_proc > has been deprecated. > > Shouldn't we fix in OACS too? Well, what is the actual ad_proc we > should use: ns_http or util::http::get? > For this task everything will be under OACS, so I believe the > recommended is the last one) > * > * > > Warning: ns_ssl queue -timeout 30:0 -method GET -headers d8 > https://graph.facebook.com/oauth/access_token?client_secret=c40a3c236ab440d71f327abb05979739&redirect_uri=https%3a%2f%2fwww.evex.co%2fcore%2ffb-login&code=AQCr5jYQemDY68393hxMPwtlux3rUEAyxQfhGS-KHeXkh0t7ezbK7YXWaOSgvmyChF4GAU7wF4eV2ikNsXsJkxSL1NDEduy4SOhl-k0NsTDwS5iv0onuLNPA-m5DHb_bK9j66q0TYq1g4ecXwEAioUsXYYp50yawC3-1Fsu7lS0NyqWF_2f23kiqf8CyN_hwUrn4vhlLcZJgkxu2wHrjfumLaD70X8lvQuRGzPhEq2Tt_pyRg80pKnSjL1RfMZ3noI_8a025sYFUJFNKE59a_cAWYuXaCZBkqE9OjEOg6y_qDkYFc2ocJ0XRos42QviwvDo&client_id=419233248412711 > is deprecated. Use 'ns_http' instead! |