Category "request"

Checking for the presence of a Request header in Karate

I am trying to create a mock server for handling functional tests in Karate. For that purpose I need to match certain incoming requests based on certain element

python - aiohttp.ClientSession().post

So, I had this code and it worked perfectly fine: def upload_to_imgur(url): j1 = requests.post( "https://api.imgur.com/3/upload.json", heade

How can I monitor the requests during 'npm install <package>'?

I wish to monitor the calls made by the npm cli to the npm registry. (I am building my own registry) I have tried using a program, Charles for monitoring reques

Electron JS ReCaptcha Harvester

I need to make a recaptcha V2 harvester in Electron JS. I tried the following code but all I get it "ERROR for site owner: Invalid domain for site key". I think

Add body to luasocket POST request with generic form?

From https://w3.impa.br/~diego/software/luasocket/http.html, there are two ways to make a request, simple and generic. I have gotten the body to work with the s

Python requests library - POST requests takes too long

I have a problem with the python requests library. I try to send a simple POST request to my Keycloak server, to introspect an access token. I tested in in Post

how to Access to the Response body in the retrofit?

I changed the Volley library to Retrofit. Now I want to access the response body like the Volley library. I searched the internet and came up with this solution

Merge multiple POST requests based on the same value of each array. (Angular)

These are the two outputs "statusCode": 200, "data": [ { "color": { "id": "1111", "name": null,

clean way to read out id in a request path in ruby on rails

I have a request that comes in like this: api/v1/photos/1/media/2 "1" and "2" are ids I need to read out in the controller. "2" I can get through the parameters

How do I send request in robot framework for api testing

I am passing username and password in the Post request body but it gives Issue as Client Error: “Not Acceptable for url: https://apiexample.com/demo&rdqu

How to find correct "json" parameters on Request POST?

I am new to webscrapping and am trying to access an employee database on a website. To do this, I noticed that when I hit the search field the site sends a requ

Open Browser with a specific url on sending request on API (.Net core MVC)

Working on .Net Core MVC and IText7, I'm filling a Pdf form (empty form PDF is already saved on server). What I want is, Whenever I send request to the link (ca

Memory leak when using Http facade with Laravel Octane

Does anyone have idea why is memory going up for every request when I'm using Http facade with Laravel Octane ? Route::get('test', function () { Http::get('http

How to use Zabbix's CurlHttpRequest() in JavaScript?

I am learning Zabbix. I would like to use CurlHttpRequest() and all these functions: I can't find the documentation (what's going on inside). I would like to r

Add variable to URL in Locust test

I'm been trying to figure out how to add a variable captured from a prior 'task' on Locust and add a variable to a new tasks GET request URL. The variable below

Teach Apache2 a new Protocoll

I wanted to write a module for Apache2. I wanted to implement the rtmp Protocol. So I started with a simple module, registered a Handler, HTTP Sheme and Port. t

Python - pagination "after" parameter doesnt work in query

Im making a code to get data from pipefy API and the pagination isn't working out for me headers = { "authorization": 'Bearer TOKEN', "content-type": "a

Requests keeps returning 403 status, even when following evey step from api documentation

I'm trying to use Solarman API (which is a very simple API from this website) to make a simple request to access a token, but it keeps returning a 403 code. Am

Python Web Scrape Request resulting in a 406 Error

I am trying to scrape https://registry.verra.org/app/search/VCS/All%20Projects for a school project. I am trying to send a request to the "download excel" butto

Wordpress Form POST Request In Current Page Got Twice

I use wordpress shortcode to create a form and send post request in current page. But I will get twice post request so my mail will send twice. Hope someone can