I got angular to call web2py controller methods passing data both ways by
using the older web2py approach not using '@... restful' decorators.
So in the $http.get I pass the full URL such as 'http://127.0.0.1:8000/
welcome/default/api/auth_user/1'
On Tuesday, July 12, 2016 at 6:45:40 AM UTC-4, bo
I've tried this type of view (default/index.html):
[[ myData.id ]]
var app = angular.module('myApp', []);
app.controller('testCtrl',function($scope,$http){
$http.get("http://127.0.0.1:8000/api/test/10";).then(function(res
2 matches
Mail list logo