Questions tagged as 'httpclient'

0
answers

How to cache a json xamarin iOS request

I would like to know how to cache a request HttpClient whose return is a json and determine the number of storage days for that cache. public async Task<List<Categoria>> GetCategorias(){ string URL = string.Format(Con...
asked by 26.06.2018 / 12:07
0
answers

Error while posting with a TypeScript API on Ionic

I am developing an API in flask and trying to make a POST request with ionic gives the following error: Error: Failed to load http://127.0.0.1:5000/login: Response to preflight request doesn't pass access control check: No 'Access-Control-A...
asked by 21.06.2018 / 15:06
1
answer

Delphi JSON Encode with TSslHttpCli (Overbyte ICS)

I'm using the TSslHttpCli component of Overbyte www.overbyte.eu and am having problems with formatting my json return, with special characters, I'm consuming google's api geolocation, see return: { "results":[ { "address_co...
asked by 02.06.2018 / 16:45
0
answers

Authorization Angular Token 2

Good afternoon. I'm having trouble sending a token in the GET request using Angular. I'm sending the token string straight into the header, and in the backend it comes as null. My api already has the necessary headers to avoid cors problems, the...
asked by 19.05.2018 / 22:08
1
answer

Angular login visible in the request header

Well, good afternoon. I need some help. My backend was written in nodejs and is in IIS. My frontend is angular and still in my machine being debugged. My login page is working as expected, connecting seamlessly. But when the application sends...
asked by 06.03.2018 / 19:49
0
answers

How to capture the authorization of the headers to get the token using httpclient (angular 6)

My question is as follows, I'm using httpclient, and I need to get the jwt token, but it's coming in header no authorization (as it shows in the image), I'm not able to get this token because it's not coming in payload, and yes in the header. Is...
asked by 28.12.2018 / 19:33