Category "request"

Node/Express I can't get the header set up in my route

I have a backend that uses Node and the Express framework and a frontend in React. The code is in Typescript. My backend uses the elastic search client to fetch

Server response problem with character encoding format in Spanish

I'm tryng to retrieve information from the following url: https://fenixservices.fao.org/faostat/api/v1/es/data/PP?area=2%2C3%2C79%2C7%2C8%2C151%2C194%2C4%2C9%2C

is it possible to send an action request to a mobile phone?

So I have an AWS EC2 instance. When ROUTE_1 receives a request from a mobile phone, I want the RESPONSE to the mobile phone to achieve three things in sequence.

Modify Request Headers Using ExpressJs

Is it possible to modify request headers using ExpressJs? I have an expressjs app server that interfaces with multiple backend services and I'd like to have thi

What is this message on the KuCoin API? code: '200000', msg: 'The interface is offline'

I'm trying to perform a transfer operation from my main account to a trade account using the KuCoin API but I'm getting the result: { code: '200000', msg: 'The

successfully display json in flutter, but not showing on android screen

I've managed to display API data to flutter, but strangely it only appears in the debug console, but when hot reloaded, the data appears on the android screen.

How to get the data from POST request (API) in Python from sothebys site

I hope you are doing well. I have post request from which I want to get data in my jupyter notebook. I used the POSTMAN to check the data. Its working fine in t

Can't request to https://registry.npmjs.org using nodejs

I want to write a program to show some npm packages, there's example code: const https = require('node:https') const url = 'https://registry.npmjs.com/vue' co

How to set Object array to CURL POSTFIELDS?

I'm gonna send json array field using CURL POSTFIELDS. but not working. JSON data is below: { "Searches": [ { "Facets": [

How to speed up python data parsing?

I have such a task - i need to parse the site in the form of a taxonomy and save to csv, that is, upload 24,000 links, that is, I uploaded 800 links to a file,

How to get more than 10 search results from the IMDB API?

I am trying to suggest movies to an user who has entered a movie genre, e.g. "horror", "sci-fi", etc. For this, I have written a function that makes an API call

Getting a response status code with lua-request

How is it possible to get the response status code of a request using lua-http ? If that is not possible with it what module/library should i use ?

Why Doesn't my Authorization Header need "Bearer"?

I am currently working with a group of applications that are running on two separate, but equivalent, environments (Referred to as ENV1 and ENV2). I have been u

how to check if ElasticSearch's Restore is finished?

Can I monitor Elasticsearch's Restore process? I am looking for a GET request in Elasticsearch's API that checks if restore has finished. I'm restoring indice

Is there a possibility to block network requests in Cypress?

we have multiple API requests on our page. When a call fails, certain behavior is expected. Is there a possibility of how to block a network request in Cypress?

How to fix `There is currently no session available` after an API request call to Laravel 9

After Laravel project upgrade to PHP8 and laravel 9 on the all API endpoints started getting: There is currently no session available. Upgrade was made from lar

Can't save state in React while POST API request

I have handleSubmit function that send two POST request, one for img upload and one for other information. I want to take the response from the img upload reque

How to do a POST Request with PlayWright

I have been stuck with this for a bit. I need to test a website and I need to post info in order to test if it appears on the page. What I have so far is this

Index elastic problem to scroll with Typescript, and with node and Express

I use the Javascript client of elastic search to index and search my data and I have a problem to use the scroll method. I can't set the right index but I know

Github API is responding with a 403 when using Request's request function

I am trying to make a request to github's API. Here is my request: var url = 'https://api.github.com/' + requestUrl + '/' + repo + '/'; request(url, function(