Category "api"

Error while validating the service descriptor 'ServiceType'

I interject in the method but it showing exception here: The code is extension of the services. public static IServiceCollection AddServices(this IServiceCollec

React Native Error - TypeError: undefined is not an object (evaluating 'item.key')

I am trying to use APIs from this website for my React Native App: https://api.spacexdata.com/v2/launches I tried to follow the APIs from the JSON formatter cl

React Native Error - TypeError: undefined is not an object (evaluating 'item.key')

I am trying to use APIs from this website for my React Native App: https://api.spacexdata.com/v2/launches I tried to follow the APIs from the JSON formatter cl

stripe webhook with firebase showing error

it is showing Unexpected value for STRIPE_SIGNING_SECRET error even after checking it many times in the env file the terminal shows everything created but it do

Django google books API totalItems is changing

I am creating an application that retrieves data from the google books API. At the very beginning I download a number of books from JSON ["totalItems"] and iter

AWS Datastore doesnt query when app oppens for the first time

I use Datastore from Aws-amplify. I have a problem .The problem occurs only when app opens for the first time(when I wipe data of device/reinstall ). Data is lo

Fastapi returns 404 when accessing URL in the browser

I am learning fastapi and created the sample following application from fastapi import FastAPI import uvicorn app = FastAPI() @app.get("/hello") async def hell

API call to crypto.com in node returns invalid JSON response

I'm sending a POST request to the crypto.com public API (reference) using node-fetch. More specifically, I'm am attempting to call the private method get-accoun

Querying deeply nested and complex JSON data with multiple levels

I am struggling to break down the method required to extract data from deeply nested complex JSON data. I have the following code to obtain the JSON. import req

ASP.Net Core API response takes too much time

I have a SQL database table with 9000 rows and 97 columns. Its primary key has 2 columns: Color and Name. You can see the simplified table to image better:

An API is being hit when <Doclist/> component is rendered through "userlist.js" ,but not when the same component is rendered through "newuser.js"

inside userlist.js the code looks like const renderItems = ({item}) => { if (item !== undefined) { const user = { image:'https://www.w3school

JSONDecodeError while trying to post csv value via python's requests.put method

I am currently working in python's requests library and accessing Salesforce API. I have successfully Accessed the access_token from Salesforce API Obtained the

Issue with variable in REST API powershell

Background : The REST API request works correctly when I remove the variable $Description and put a string in line 11 . If I leave the variable then it doesn't

USPS Address Validation API using XML and Javascript

I ran the following code (with my user Id entered): const xhttp = new XMLHttpRequest(); const url = 'https://secure.shippingapis.com/ShippingAPI.dll?API=Verify'

What is this message on the KuCoin API? code: '200000', msg: 'The interface is offline'

I'm trying to perform a transfer operation from my main account to a trade account using the KuCoin API but I'm getting the result: { code: '200000', msg: 'The

when connecting to coinbase (and coinbase sandbox) getting {'message': 'Invalid API Key'} errors with Python code

I am using the following demo code (written in Python 3.x) to attempt to connect to the Coinbase Sandbox. Below is the code I have been following. I keep gettin

How to display OpenWeatherMap icons in weather application?

I'm trying to display weather icons from OpenWeatherMap in my weather application using JavaScript. I've tried using jQuery and other solutions I've seen online

How to set up Gravitee.io on Windows machine

Is it possible to install Gravitee.io Access Management on a local Windows machine?

Azure api works locally but not in Azure deployment, for the endpoint which need data from Azure sql db. Endpoint with hardcoded data is fine though

i have deployed a .net core web api to Azure App service. one endpoint of API which does not have anything to get from Database works fine. [Route("api/[contro

How to create a API server with endpoints in Python?

Using python, I would like to create API server with two endpoints , namely /metric and /healthz. /metric- needs to print the count how many times API api serve