Category "api"

How to send/receive data to/from MetaTrader Ternminal 4 with JAVA (or anything!)

I have been working on an algorithm ( Not mine, I am just modifying it ) that predicts when to buy and sell on the FOREX market. I need to be able to open and c

How to use Binance API, simple GET price by ticker

I would like to get only one pair from the response. And I can't really understand how I should pass my parameter. Instructions say: Symbol price ticker GET

Autoresponder in Gmail without "Vacation Responder"?

I'm trying to set up an autoresponder in Gmail that is not a typical vacation responder that's sent via a separate email. My autoresponder should respond direct

Why loadInitTopStory method called after calling loaded state in flutter?

HackerNewsLoadedState is called before HackerNewsLoadingState and it loads all data from API but does not integrate to _topStories list as well as store data to

Reducing authentication calls on external API (Laravel 5.6)

My app requires data to be gathered from an external API. I am using Guzzle. My API methods are written into a separate class stored in a library folder. I ha

Default Values from API in MUI Text field

I have a form that I built using material UI that I would like to have their default values from an API. The main idea is an Edit screen where the user can edit

Invoke-Restmethod: how do I get the return code?

Is there a way to store the return code somewhere when calling Invoke-RestMethod in PowerShell? My code looks like this: $url = "http://www.dictionaryapi.com/

Getting closed caption data files from YouTube V3 API (in Delphi)

When you upload a video to YouTube, it automatically transcribes it and creates three different CC (closed-caption) files. They can be downloaded via the YT Cre

How Do I Use Axios to Post Form Data?

I am working on a project with a springboot backend and Vue frontend. Right now I am able to GET a list of products from my DB. I can GET the list and display i

How to validate an array of Date with class validator?

I have an array of dates in a post request body that I want to validate: { "meals": [...], "dates": [ "2022-03-06T11:00:00.000Z", "2022-

How can I save API response body or property in an environment variable or json to use it later in other requests in Cypress

API runs locally(and in future in a circleCI container) so I don't need to stub responses, only real requests and real responses. When I send a POST request, it

Subscription-scope authorization for Azure Resource Manager API user

Trying to put together an Azure ARM integration, where my code uses the Azure API to retrieve the full list of VMs in the entire subscription. Went successfull

Fetch files from next cloud storage and display in Laravel website

I have a website built with Laravel. I need to fetch files from my nextcloud storage and display in the website. I have successfully installed sabre/dav to crea

Slack API users.list doesn't return all users

The following api to get all users in a workspace doesn't return all users. https://api.slack.com/methods/users.list I thought may be its a limit thing but nope

Cant seem to get the Pagination to work on my WooCommerce REST API application?

What I got so far: [ 'wp_api' => true, 'version' => 'wc/v3', 'query_string_auth' => true //Force Basic Auth

Using IFTTT web hook with values; values doesn't get through

I am running the following Javascript code: const httpPost = (title, msg, trigger, key) => { const URL = `https://maker.ifttt.com/trigger/${trigger}/with

How to post JSON data to FastAPI backend without using Swagger UI?

I am trying to do a simple POST operation using FastAPI. I have created a basic structure using BaseModel, which has only two attributes, namely 'name' and 'rol

How to hide HTTP Header Manager for a image upload post API in jmeter

I create two HTTP request, both post REST API. One of the API content-type is "application/json" for which I have added HTTP Header manager. My other API is for

AWS Apigateway + Simple System Mangement + Integration

I'm trying to resolve an ssm parameter throught AWS Apigateway, but i can't find any example. The cloud formation part where I define the method integration is

Multipart form doesn't receive fields

I'm trying to get a file and model to my api controller and test it by sending request from fiddler. So far I have managed to receive a file using MultipartData