Category "request"

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

Webpack - Critical dependency: the request of a dependency is an expression

I am getting three warning messages when importing request in a barebone webpack project. A minimal example to reproduce the bug is available on GitHub (run npm

how do basic jquery ajax in typo3 flow?

I am trying to do some very basic ajax. I just want an onchange event on a select that will call an ajax function that will get the options for another select

Why can't I scrape table data in order?

I'm trying to scrape table data off of this website: https://www.nfl.com/standings/league/2019/REG I have working code (below), however, it seems like the table

Why do HTTPS requests produce SSL CERTIFICATE_VERIFY_FAILED error?

Here is my Python code: import requests requests.get('https://google.com') This is the error: requests.exceptions.SSLError: HTTPSConnectionPool(host='g

How would I consume the body of a put request from a web worker

I want to consume data sent through a put request in a web worker. How would I do so? this the part in my code where I am trying to handle the put request if (m

How to migrate from request to axios

I am using [https://github.com/huobiapi/REST-Node.js-demo][1] for my connection to huobi cryptocoin exchange but i am having some errors like : (node:29550) Wa