All Questions
1,721
questions
0
votes
1
answer
24
views
Angular2- Can't call an API with a service in Angular
[Trying to call this API file in Angular through a service. I was able to call a local JSON file before with ease but this one is not working.The second image is the table I want to setup for the data ...
-1
votes
2
answers
32
views
TypeError: list.forEach is not a function at service.buildList [as project]
I've been thinking about a problem all morning. I'm noobie to Typescript and Angular. I'm need a call to my back API, but when filling the data in an array to display it, it is giving me an ...
0
votes
1
answer
261
views
How to get data from 2 api and view data in angular?
Ihave 2 api ( users and category ), and I have relationship between this api in category id, and I have user Promise.all.
How can I video this data in html code?
My Code :
frist API ( name in posts ):...
1
vote
1
answer
712
views
How to get data from 2 api and view data in angular material table?
Ihave 2 api ( users and category ), and I have relationship between this api in category id, how can I make join this api like inner join in sql.
My Code :
frist API ( name in posts ):
{
"...
0
votes
1
answer
44
views
How do I display the data returned from my API?
I'm trying to display the ID and Document number returned from an array.
Data Returned
As you can see this returns nothing
Applicaton Results
I have tried string interpolation {{document.id}}} and {{...
0
votes
1
answer
162
views
Stripe in Angular 14
I would like to implement Stripe on my Angular 14 project without stripe-ngx because the pop-up design isn't appropriate for me.
So, I use the "Personalized payment tunnel" and I want to ...
1
vote
1
answer
97
views
Angular and C# Large number with decimal automatically rounding
I have this issue, for example in my database I have this value of 100000000000000.165 and when I validate the result using API tester I get the expected value.
When I retrieve it in angular app, ...
0
votes
0
answers
1k
views
Access to XMLHttpRequest has been blocked by CORS policy: Response to preflight request doesn't pass access control check
I am trying to get data from an API from the internet, using Angular version 16, I tried everything but I still get the CORS error saying "Access to XMLHttpRequest at 'http://www.travel-advisory....
0
votes
0
answers
73
views
fetch data from REST api and display it in html using Angular js
I used http request to get data from database using api I get the response (data from database) in the console which means that the data has been fetched but it doesn't display in html. I also used ...
0
votes
1
answer
82
views
Best way to handle multiple API requests in Angular (no backend)
I am using GitHub pages to make a site to find TV series: the user can filter by many operators, including the number of episodes and seasons. I am using the TMDB API and the first call I make is: ...
1
vote
1
answer
452
views
Meta tags are updating dynamically and showing in local view source but not on live view source in angular
Meta tags are updating dynamically and showing in the local view source but not on the live view source in angular. What should I do so that it can be shown in live view source too on the server or a ...
0
votes
1
answer
173
views
ASP.NET api getting null as request body
I have my controller class as
namespace air_bnb.Controllers
{
[Route("api/[controller]")]
public class UserController : Controller
{
private readonly UserDbContext ...
0
votes
2
answers
90
views
how to pass a http response from component to another in angular
i cannot update the data
import { Injectable } from '@angular/core';
import { BehaviorSubject, Observable } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class DataService {
private ...
0
votes
2
answers
230
views
Property in angular is not being defined by the constructor?
I am using the Google Maps API in my project
I am getting an undefined error for my code:
export class AppComponent {
startLocation: string;
endLocation: string;
maneuvers: any[];
constructor(...
0
votes
2
answers
927
views
Run an API multiple times and store the result in an array
I want to run an API call multiple times and then store the API response in an array/observable.
public getProgramNamesList() {
for (let i = 0; i < this.totalPages; i++) { ...