Hi, Brishal.

You can send the get request through $http service, using get method (read
more here: https://docs.angularjs.org/api/ng/service/$http). The response
will contain the JSON object as a response. Read the documentation to get
into it.

Regards

2016-03-31 2:32 GMT-03:00 Bishal Paul <[email protected]>:

> My server takes 2 parameter username and password to a page login.php and
> returns the JSON object if the user is authenticated "{ authenticated :
> true }", how do I send the get request and how do get the parsed JSON
> oject...
>
> Can Some one provide the php code only for preparing the JSON object and
> sending them
> Please Help...
>
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to