Category "api"

How to Create a new folder in vcenter using rest api

Can anyone help me to provide right API to create a New folder in vcenter Thanks, Benji I can see only get API to list folders in vmware api document, unable to

HereMap Reverse Geocode Not getting District, Street data in Iran Geo coordinates

https://revgeocode.search.hereapi.com/v1/revgeocode?at=36.080001136883894,51.43679934714218&lang=en-US&apiKey={APIKEY}&mode=retrieveAddresses&sh

How to extract value from nested cURL

I'm trying to extract the data from (php)cURL response that I received from the external api. I received the response like below. {"result":"OK","data":{"body":

Trying to upload a picture via an API but get "Empty upload source" error

I'm a beginner with APIs. I'm trying to upload a file to imgBB using an API. But I get the error message: "{"status_code":400,"error":{"message":"Empty upload s

Retrieve two foreign keys nodejs sequelize

I have a route and I want it to send two primary keys as foreign keys to my orderline table. I have three tables a customer, address and orderline table. an ord

API URL Query to filter the response

So I'm trying to filter the response of my API GET query and can't seem to find a way to access deep enough in Json. My response is like: { "orders": [

How to return custom JSON response in DRF?

I have created API for News model: models.py class News(models.Model): title = models.CharField(max_length=255) created_at = models.DateTimeField(auto_n

why can't create user using stream chat api in flutter?

I'm trying to create a chat screen in my flutter application using Stream chat API. the problem is when I try to create a channel with two users it shows that t

ReactJS / Axios / Django: Update form with the current image from API

I'm trying to create an update form in React, the update works fine as I have set the default values that coming from (get method) using axios and set them as t

R - Use Twitter API to get every tweet from an account

My goal is to get EVERY tweet ever for any twitter account. I picked the NYTimes for this example. The code below works, but it only pulls the last 100 tweets.

Authentication Api using user name and password in flutter web

I try to authenticate api using user name and password it worked good in flutter android app but in flutter web do not get any data below my authentication func

How to acess an entity under _links in Angular from Spring Data REST?

I encountered a problem which is very challenging to my Angular level. Could you give a help please? In Spring Data REST the entity Worker has a @OneToMany bidi

How to convert PHP multidimensional associative array to API http query in the format the API specifies? [duplicate]

I have the following array $folder_data = array( "title" => "Testing API Creation", "description" => "Testing the Wrike API by c

POST <APIURL> net::ERR_NAME_NOT_RESOLVED

I'm trying to create a simple web application form. It requires the user to input their information, and click submit which ideally would hit an api and store t

React onclick pass button api id to state

I have a simple aip with an array with 4 different ids. In react I've made an <ul> with a button for each of the ids. When I click the button, I want to c

How to properly implement useQueries in react-query?

I'm using react-query to make two separate queries in the same React component. I originally tried using two useQuery hooks: export default function Component()

How to reorder an API call to a custom order by API ID?

A bit of a niche question but it has challenged me, see if you can solve it. I have this array of sports leagues ranked from best to worst by their respective A

Binance.net wrapper Set TP and SL Problem c#

i use Binance.net wrapper , i can open position (Futures) , but i cant set tp and sl after open position var orderData = await binanceClient.UsdFuturesApi.Tra

What is a Resource Resolver API interface in AEM? What is it's significance

What exactly are resources and resource resolvers. Can you please elaborate the same and essential terms relating to it? Wanted to know how resource resolver wo

How to Secure Cookie in MVC

I have an application in MVC which is consuming some third party APIs. While running application on server I am getting below 4 cookies in browser and one of th