Category "request"

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(

ESP32 board_POST_Error_[E][WiFiClient.cpp:258] connect(): socket error on fd 56, errno: 113, "Software caused connection abort"

I need to send HTTP POST request using ESP32 module, to my REST API server which coded using python. But when running following code, an error comes. Running on

React Native / Expo : Fetch throws “Network request failed”

I saw several posts on the subject but without result. I have on the one hand a form which collects information (name, first name etc) then saves it in database

How to use Curl to submit URLs İn Bulk With İndexNow API?

You know, with the indexnow api, we can now index pages instantly in bing and yandex search engines. I prepared a file like in the documentation(https://www.ind

Download File from Bytes in JavaScript

I want to download the file which is coming in the form of bytes from the AJAX response. I tried to do it this way with the help of Blob: var blob=new Blob([res

HTTP Request works in Postman, but not in C# code

I want to do a simple HTTP request in C#, but something is not working and all I got is 403 Forbidden status code. When I try to do same request in Postman, ev

Angular 4.3.3 HttpClient : How get value from the header of a response?

( Editor: VS Code; Typescript: 2.2.1 ) The purpose is to get the headers of the response of the request Assume a POST request with HttpClient in a Service i