Under my Angular6 app , i'm using HttpClient with some headers injection to my htpp calls to fetch data from my backend server :  My service :  @Injectable() export class LoadUserInfosService {    public _headers = new HttpHeaders().set('Cont...
I have been sending data to a web api that i flat, but now i am needed more complex json object  In the past... I was doing this ( It works , web api accepts flat model )  MODEL:  export class Menu {     constructor(  ) { }      UserID: number;     A...
I'm passing pagination information in response header and unable to get using following method in angular 8. I'm getting 0 all the time but in response showing diffrent value. Can anyone let me know where I made mistake?   app.service.ts...
I have 2 issues with my json data as I am use to sending it "flat"  Example typescript class model  UserID: number; AppID: number; Key: string; HearingsAndEventsType: number   In the past I would send above like this.  {    "UserID":...
I'm working on a session service that checks if the auth token is expired. If it is, it makes a call to refresh the token. During this request, all incoming requests should be queued, and emitted once the request is finished. After that, all inco...
I'm making a call using the DomSanitizer like this:          this.domSanitizer.bypassSecurityTrustResourceUrl(url));    The url is complete URL to the SVG image being fetched.  Here's is an example:        this.matIconRegistry.addSvgIcon(...
i have a problem with https://github.com/HackerNews/API.  I need fetch all best news in Angular 7, on 30 news in first page(title, author...). How can i sent get request with next api?  This API show all Id of best story: https://hacker-news.firebase...
So this is very hard to explain to me, but I am using httpclient to retrieve information from the backend. I got this json response from them  [{"roomTypes":[{"rooms":[{"boards":[{"cod":"AD","name":"...
I am trying to create a login page in angular and to save the cookie that is being created by our spring boot application  This is how we create the cookie in BE  val cookie = createCookie(jwtProperties.cookieName, token, expirySeconds,...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.