Linked Questions
38 questions linked to/from AngularJS passing data to $http.get request
0
votes
1
answer
198
views
Why is the data from $http GET is not being sent in the request? [duplicate]
I have a GET method in my C# controller
public async Task<IHttpActionResult> GetEmailTemplate(List<string> ids)
and I'm calling it in angularJs like so:
$http({
method: 'GET',
...
1
vote
2
answers
124
views
AngularJs, how send params for $http get [duplicate]
I'm trying to pass the value of an identifier through a url to an express router, the variable I want to pass is IDR that I got it correctly from $routeParams.IDR and now I have to pass it by $http, ...
0
votes
0
answers
29
views
Regarding passing a complete object into http Get request to Spring Controller [duplicate]
Have a AngularJS service calling the http Get and passing user object as an argument.
$http.get(urls.USER_SERVICE_API_LOGIN + user)
.then(...
And my Spring controller is as below-...
5839
votes
19
answers
1.8m
views
What is the maximum length of a URL in different browsers?
What is the maximum length of a URL for each browser?
Is a maximum URL length part of the HTTP specification?
122
votes
4
answers
143k
views
from jquery $.ajax to angular $http
I have this piece of jQuery code that works fine cross origin:
jQuery.ajax({
url: "http://example.appspot.com/rest/app",
type: "POST",
data: JSON.stringify({"foo":"bar"}),
dataType: "...
10
votes
5
answers
68k
views
How to do a $http GET with some data in AngularJS?
I want to make a Get request to my Backend, but I want to verify some user credentials before sending the response object.
Here is my code:
$scope.getEverything = function (){
$http.get('http://...
0
votes
3
answers
10k
views
passing data using AngularJS $http.get method
I'm building an application using the MEAN stack that would make use of data retrieved from an external API. As a measure to hide the API key, I want to make the API request from the server, however I ...
6
votes
1
answer
7k
views
How do i use json data from external file using angularJS restful service
I am developing an application. In that i am retrieving the json data from an
external file using $http.get() method it worked fine. Now i am trying to use angular
restful services. it is working ...
1
vote
3
answers
4k
views
Pass and access parameters through AngularJS http GET
Beginner in AngularJS:
I am passing parameters through http.get to the url (php file). On my php file I have mysql query in which I have to read those parameters in the where clause.
In brief: http://...
0
votes
2
answers
6k
views
Query a SQL server database with AngularJS and ASP.NET
I am experienced in ASP.NET and web/database applications; I am learning and trying out Angular.
I found a very good database example at w3schools.com, here:
http://www.w3schools.com/angular/...
2
votes
4
answers
1k
views
AngularJS RESTful params
Is it possible to use the AngularJS $http service to parameterize a restful url? For example:
var URL = '/api/countries/:countryId/states'
var getStates = function (countryId) {
$http.get(URL, {...
3
votes
2
answers
2k
views
What is the Angular Equivalent for Jquery Ajax?
$.ajax({
type: "GET",
url: "../Home/RightPanel",
data:{"movie_name":$(".search_columns").val()},
contentType: "application/json;charset=utf-8",
...
2
votes
1
answer
2k
views
How to get route value to controller in angular js
I am new in angular js, want to make simple crud operation in blog site, I dont know how to get the value from route to the controller for view the particular record in the form to edit
Controller....
-1
votes
3
answers
1k
views
Set a value in angular with jQuery ajax
I want to create a dynamic page (that's why i'm using angular.js) according to datas from my localhost database. I'm connecting into my DB using a jQuery ajax call function :
var ajaxCall = function(...
2
votes
1
answer
6k
views
AngularJS - Send $http GET request with associative array params
with this code I am trying to send a $http.get request to my rest service:
$http({
method: 'GET',
url: '/api/item/all',
params: {
query: {
userid: 7
},
...