Category "api"

Error calling a command based on the number of items within an array

I have the following problem: I want to call my service a number of times. This number of times must be based on the number of times in my array. Below my step

Deleting Events using Google API - Notifications 'From' coming from Admin account

I am currently working on a nest JS project that leverages the google node package to delete an event from a users calendar (gcal). Gcal successfully deletes th

RESTful API HATEOAS

I've come to the conclusion that building a truly RESTful API, one the uses HATEOAS is next to impossible. Every content I've come across either fails to illust

(MERN App) All API calls returning 504 (Gateway Timeout) on Heroku deploy yet working fine locally

I have built a MERN stack app which has a few different API calls. It works as expected locally however it returns 504 (Gateway Timeout) for all the API calls w

(MERN App) All API calls returning 504 (Gateway Timeout) on Heroku deploy yet working fine locally

I have built a MERN stack app which has a few different API calls. It works as expected locally however it returns 504 (Gateway Timeout) for all the API calls w

What is the correct way of adding parameter to ignore case for search text in a REST API

I have an API endpoint to retrieve all users. There are 3 query parameters for searching/filtering the results as follows. GET /users?name=test&age=23&a

Laravel Json test with Bearer authentication

I'm writing a simple test to assert if an api endpoint response returns with 200 status. My api got Bearer authentication through sanctum middleware. My test fu

Check owner of an Ubisoft Account?

is there any API to check if someone owns an Account. This is needed to sync a Account on my website with the Ubi Account, so his stats/rank can be shown on sit

I am trying to understand what exactly is signature query parameter in binance

I am trying to access this endpoint, where signature parameter has to be sent as query parameter https://binance-docs.github.io/apidocs/spot/en/#current-open-or

Bigcommerce API connection disconnects with no response

We've been using a Python script to pull orders from our BigCommerce store and reformat them into a .csv for use by our warehouse. This method has been working

How to get all transaction from an address via the etherscan API in R?

I've been looking for a way to download all transaction from a specific contract since their start up until now. It's around 25k transactions as of today. I've

Powershell pagination with page token

I am trying to curl an API on loop while the page token is not empty. Essentially get all the results. I am having difficulties implementing the pagination. $he

How to upload Multiple Images to rest API in Flutter?

I am trying to upload upload multiple images to Rest API in flutter. the code i have written is given below: final List<File> _image = []; Future<F

How to enumerate all possible keys that exist on a smartcard that is present in a reader with just UWP APIs?

Here are the constraints for my question: How to enumerate all possible keys that exist on a smartcard that is present in a reader with UWP APIs? Use just Unive

How to send form data to MongoDB using Flask

I'm a student and trying to make a simple image uploading API using form data and MongoDB. But I'm having hard time solving errors. I think it's the server side

Celery, uvicorn and FastAPI

I have a FastAPI api code that is executed using uvicorn. Now I want to add a queu system, and I think Celery and Flower can be great tools for me since my api

Postman connect ECONNREFUSED 127.0.0.1:8080

Trying to test an API endpoint and got this error. Could it be my request body? Or is it a network issue? Maybe something I need to change in my proxy settings?

Does anyone know how to enable mikrotik router FTP using Perl script?

my %attrs = ("/ip/service/enable" , "=ftp") ($retval,@results) = Mtik::mtik_cmd(\%attrs); or ($retval,@results) = Mtik::mtik_cmd('/ip/service/enable ftp' , \%a

Steam API: How to query a server to get server info (not using A2S)?

I would like to know how to use the Steamworks Web API to query a server to get information (server name, game, map, players, etc.). I know that using the A2S q

Swift boringssl_metrics_log_metric_block_invoke(144) Failed to log metrics

I just get an error "[boringssl] boringssl_metrics_log_metric_block_invoke(144) Failed to log metrics" while to get JSON data from API link. Before it worked an