# Http request with basic auth

**URL:** <https://forum.ionicframework.com/t/http-request-with-basic-auth/38823>\
**Category:** ionic-v1\
**Created:** [December 9, 2015, 12:07pm UTC](https://forum.ionicframework.com/t/http-request-with-basic-auth/38823 "2015-12-09T12:07:56Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![fabiobalsamo](https://avatars.discourse-cdn.com/v4/letter/f/47e85d/32.png) [@fabiobalsamo](https://forum.ionicframework.com/u/fabiobalsamo)\
**Post date:** [December 10, 2015, 3:35pm UTC](https://forum.ionicframework.com/t/http-request-with-basic-auth/38823/10 "2015-12-10T15:35:33Z")

</div>

and for this post any solutions ?? thanks in advance

> [@How get only some data from json](https://forum.ionicframework.com/t/how-get-only-some-data-from-json/38940):
>
> Hi, I get a json file from get method like this: $scope.chiamataUno = function() { var authdata = Base64.encode(“xxx” + “:” + “xxxx”); $http.defaults.headers.common[“Authorization”] = "Basic " + authdata; $http.get(‘[http://demvsint-as1-sd.services.eni.intranet:8001/CaseManager/P8BPMREST/p8/bpm/v1/queues/DV\_ResponsabileBSDL/workbaskets/Responsabile](http://demvsint-as1-sd.services.eni.intranet:8001/CaseManager/P8BPMREST/p8/bpm/v1/queues/DV_ResponsabileBSDL/workbaskets/Responsabile) BSDL/queueelements/?cp=DCMSVS\_CONN1’).success(function(response) { $scope.risposta = response; $rootScope.responseJSON = JSON.stringify($scope.r…

---

_[View the full topic](https://forum.ionicframework.com/t/http-request-with-basic-auth/38823)._
