angular routing - What's the correct way to send parameters from AngularJS to an Options HTTP API? -
what's right code talk between options http api parameters?
return $http( { method: 'options', url: apiurl + '/options/' + clientid } ).error( function ( a, b, c, d, e ) { console.log( 'a, b, c, d, e', a, b, c, d, e ); } );
try way
return $http( { method: 'options', url: apiurl + '/options?clientid=' + clientid } ).error( function ( a, b, c, d, e ) { console.log( 'err' ); } );
Comments
Post a Comment