Category "api"

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

Contentful API returning 'version mismatch' on entry update

I'm attempting to do the following with the Content Management API for Contentful: Get an entry (entry1) Find another entry (entry2) using data from a field in

Tauri window.__TAURI__.fs.readDir(... is unable to read directory - Error: path not allowed on the configured scope

I'm new to Tauri and I'm trying to read / ls a directory. window.__TAURI__.fs.readDir("com.tauri.dev/", { dir: window.__TAURI__.fs.Dir.Data }).then(... Unhandl

Not able to use Magento REST APIs using OAuth

I am using Magento version 1.7.0.2 and trying to use Magento Rest APIs using OAuth Integration. I have installed OAuth and following is the snippet of code that

R: Warning: Error in curl::curl_fetch_memory: Timeout was reached: [www.quandl.com] Connection timed out after 10015 milliseconds

I am facing an issue while importing data from Quandl API in R. I have also tried to use the API key but no matter what i do, everytime i get this same error. I

How can I get a Google Ads API Developer Token

By current Google documentation it's in the "TOOLS & SETTINGS > SETUP > API Center" but now "SETUP > API Center" is not there. What is the current

List all the transactional email activity with Sendinblue

I want to show the result of my transactional email activity page with the sendinblue api (CURL Method), with a table and columns : Email , Subject, events (del

WEBAPI not working when i add server ip address instead of name?

I have created WEBAPI application using VS2017 and deployed into IIS. After replace my server ip address instead of msweb102 like below URL, i am getting error.

Google Cloud Vision OCR API returning incorrect values for bounding box/vertices

I'm using the "TEXT_DETECTION" option from the Google Cloud Vision API to OCR some images. The bounding box around individual characters is sometimes accurate

Making API Get query for multiple instances

I'm trying to build a web app with FastAPI. After lunching the web app and entering this URL into a web browser http://localhost:8080/mall/customers/segmentatio