API & AngularJS: Updating API Routes - API_Dev Merge
and Service Update
This commit is contained in:
parent
1c05b8aea1
commit
1ec45d107c
2 changed files with 2 additions and 2 deletions
|
@ -188,4 +188,4 @@ def getCampusId(name):
|
||||||
|
|
||||||
@campus_routes.route('/api/campuses/help')
|
@campus_routes.route('/api/campuses/help')
|
||||||
def documentation():
|
def documentation():
|
||||||
return auto.html()
|
return auto.html()
|
||||||
|
|
|
@ -16,7 +16,7 @@ service.factory('apiService', ['$http', function($http) {
|
||||||
return $http(req);
|
return $http(req);
|
||||||
},
|
},
|
||||||
getAllCampuses: function(token){
|
getAllCampuses: function(token){
|
||||||
var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/campuses/" + token;
|
var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/campuses/getAll/" + token;
|
||||||
req = {
|
req = {
|
||||||
method : "GET",
|
method : "GET",
|
||||||
url : url
|
url : url
|
||||||
|
|
Loading…
Reference in a new issue