in reply to Re: Perl and AngularJS - Help Required
in thread Perl and AngularJS - Help Required

when I visit URL http://sample.com/cgi-bin/jsonTest.cgi using browser, I can see output.

But from AngularJS GET method, not getting any result

  • Comment on Re^2: Perl and AngularJS - Help Required

Replies are listed 'Best First'.
Re^3: Perl and AngularJS - Help Required
by huck (Prior) on Jan 07, 2017 at 12:18 UTC

    "Getting output as"

    Did you copy and past that output, or type it in? If you did copy and paste it it has an anomaly that would cause the perl JSON process to toss an error .... it has a ; at the end, ... that isnt json.

    The page http://www.w3schools.com/angular/angular_http.asp shows an example with //Second function handles error that you might try to capture error output from its json processor. Me, id first try getting rid of the extraneous ; first