Category "api"

Compute Date out of Timestamp from Binance-API (Python)

I received the servertime from the Binance-API,I try to work with and it looks like this: { "serverTime": 1518440400000 } The question is, how can I comput

Authentication error using cloudflare api

I repeatedly received an authentication error just like this (not me) when using the Cloudflare api. curl -X GET "https://api.cloudflare.com/client/v4/zones/<

How to send JSON format data in postman to django models that have a foreign key to another model?

I have tried to send a POST request to django views.py file using postman. It was working when I sent a POST and GET request to django models that haven't Forei

Sending POST request with POSTMAN to Java REST API and getting null values in the xml response

I am creating a REST Service in Java and now I am building the post method which has 2 parameters that has to be inputted as xml in postman (for test) and get a

OpenWeatherMap API to get weather of multiple cities in XHR

I am new to API. I am trying to get the weather of 2 cities, but I am not able to think of a solution. Here is my code: function loadDoc() { var xhttp = new X

What HTTP method should I use for an endpoint that updates a status field of multiple entities

I like to use the correct HTTP methods when I'm creating an API. And usually it's very straightforward. POST for creating entities, PUT for updating them, GET f

"TargetPlatform.windows is not yet supported by the maps plugin" - How to solve this

Im just trying to get google maps displayed on my emulator and i also used google_maps_flutter package but TargetPlatform.windows is not yet supported by the ma

Sorting artifacts using aql and cleanup old artifacts

I'm trying to sort the list of artifacts from jfrog artifactory but getting (The requested URL returned error: 400 Bad Request), in the jfrog documentation (htt

Simple Twinfield API request with Postman

I want to connect sales invoices with javascript/ google apps script. Therefore I want to test some things with Postman. I know, that the API works with XML and

Build a Wikipedia URL [closed]

How can I build a Wiki URL in java language? Is there any API ready to use?

java.lang.IllegalArgumentException: HTTP method annotation is required (e.g., @GET, @POST, etc.).Error when trying call apiInterface GET request

I get error when trying to call API interface get request. I am trying to pass a value through GET method. But I get this error in logcat Caused by: java.lang

file_get_contents(): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request

I am getting the error Warning: file_get_contents(https://partner.uat.shopeemobile.com/api/v1/item/categories/get): failed to open stream: HTTP request failed!

Home Assistant - correct syntax for extracting variable

So I am using the SmartThings API integration for my Samsung washer and dryer, and am trying to extract the following items into sensors- remaining time kids lo

Is there any string size limit in POST request? [duplicate]

I have to make a POST API (python), where the APP will send the encoded string of a file(base64 encoding) in the request body. But, for a larg

React Native Axios get response Skipped and Status Code 0

I got a problem with my react native app. while accessing API, I get a response Skipped and status code 0. it's shown by using reactotron to log the api respons

OpenAlex API - How to get institution ID?

I am trying to use the OpenAlex API: https://docs.openalex.org/api This API provides access to a catalog of scholarly papers, authors, institutions, etc... It i

How can I display the contents of nested list (contactArr list in the following json response) in JSON response in ListView in Flutter?

{ "status": 200, "message": "Data Found", "data": { I want to display this contactArr list in flutter ListView "contactArr": [{ "contact": "17301

Shopify Inventory Not Update via Shopify GraphiQL App

I have checked the Shopify GraphQL API, and I have tried to update the product inventory on Shopify but when I execute the graphql API it says " Inventory quan

Trying to upload image using Karate REST API tool

I m trying to upload two images in the post method, like this but it's returning this error, the api didn't receive the uploads images I want to know how is t

API call returns a response in postman but gives me 403 in browser

ajax call postman url console error Postman returns a response, but browser gives me 403. I have attached my postman request, my ajax call as well as the browse