All Questions
1,928
questions
0
votes
1
answer
37
views
How do I make data from a fetch display properly?
I'm trying to fetch data from three different endpoints which works, but when getting the name of the episode "undefined" is returned instead. I'm using the Rick and Morty API for this ...
0
votes
1
answer
40
views
how to check why an API fill a variable
I have been trying to get the data from this API to display in the console based off of the name of the college I input, but variables aren't working and aren't getting any data from the API to store.
...
0
votes
2
answers
321
views
Fetching data from an API using the Fetch API in HTML with JavaScript
Hey I am struggling to fetch an API. I just don't get it to work.
<!DOCTYPE html>
<html>
<head>
<title>Sponsorkliks API Table</title>
<style>
table {
...
1
vote
1
answer
130
views
How to make request call the api throught html
i am an api noob i get this following api from rapid api
const axios = require('axios');
const options = {
method: 'GET',
url: 'https://aviation-reference-data.p.rapidapi.com/airports/JFK',
...
0
votes
1
answer
67
views
having a error with an api in web scrapping
i was web scrapping a website and the website had a hidden api to web scrape from so when i web scraped the api it returns to me this error and it doesn't give me the data that it have.
code": &...
0
votes
0
answers
69
views
HTML Request Convert to Curl for Postman
I have the below code block but i am trying to rebuild this into a request in postman.
It is all the documentation has in order to build a request so i am looking for some advice of how to convert ...
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 ...
1
vote
0
answers
1k
views
Get the last TikTok video using API V2 and html+javascript
I am developing the website of an organization that uses TikTok to spread videos, and it needs to show the basic information of the last video uploaded to the tiktok channel of the organization (video ...
0
votes
0
answers
25
views
how to remove default multiple selected value in dropdown
enter image description herein this code automatic multiple one value selected how to hide this value
import { Input, Button, Form, Select, Upload } from "antd";
<Col md={...
0
votes
0
answers
137
views
How to add images to website dynamically from a folder in the hosting server
I made a website for somebody, and for the first time I had to host it online. I bought a domain and hosting service, and added my website.
Immediately I discovered that all my photos in the gallery ...
-2
votes
1
answer
309
views
Use API to autofill form options? [closed]
I want to list the available stocks a user can input, but the amount available in the api is a lot and currently I have just manually added the options to test if it works. Is there a way I can get ...
0
votes
1
answer
56
views
I have Created Custom Accordion in React.js in that my toggle is working but it open all items
import React, { useState, useEffect } from "react";
import axios from "axios";
const Faq = () => {
const [faq, setFaq] = useState([]);
const [isActive, setIsActive] = ...
0
votes
0
answers
31
views
API result not integrated into popup
API answer is not integrated on click. Could you help me to find the issue please ?
API url is https://www.aviationweather.gov/adds/dataserver_current/httpparam?datasource=metars&requestType=...
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
54
views
How to map data in reactJS?
When I write items.map it gives me items.map is not a function. I am doing it for wishlist, taking data from localStorage, but I can't map it.
how can i map this data for write x.id for example
items?....