javascript - http requests naming conventions with ajax / angularjs http requests -


in angular when use

$http.get(/users/' + userid).success(function (data, status) {     }); }; 

and @ request being made in dev tools network tab 'name' of request whatever userid is. if path /users 'name' users. on pages have 3/4 requests going different paths use sort of id there number of requests have number 'name' in dev tools task.

is there way make name more descriptive or there best practice far goes? using chrome dev tools don't think browser specific prefer make more descriptive no matter browser or dev tools or aren't being used.

as far know can't change this. it's not angularjs specific, either, it's way chrome displays network requests.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -