8,170 questions
Tooling
0
votes
2
replies
47
views
How to write tests which analyze HTTP requests made on NextJS server side?
I work on a NextJS project with Pages Router. We are using Jest for unit tests and Playwright for E2E.
The application we are making is a funnel with several steps. Each step is a form with several ...
1
vote
1
answer
97
views
HTTP Request to a Specific Website Fails with "Connection Timed Out" in Code, but Works in Browser
I'm encountering a consistent
Connection timed out
error when my application, running on a local development server, tries to make HTTP requests to a specific external website. The site loads ...
1
vote
1
answer
124
views
Is keep alive set to true by default for outgoing calls from nestjs application
I am using NestJS version "@nestjs/core": "^9.0.9" and it has axios version as "axios": "1.8.2" and nestjs/axios version as "@nestjs/axios": "^3....
1
vote
1
answer
52
views
Reading the request body of HttpRequest only retrieves 4,019 characters
I have a .NET Core web application that reads information that is posted from other computer. The transmitted information is more than 4,019 characters.
I created this extension method in my ...
0
votes
1
answer
411
views
Business Central Server-Driven Paging @odata.nextLink in c#
I'm trying to get some example code to transform this logic into one where it requests while there is @odata.nextLink. There seems to be 10k records in my http response, limiting by request.Headers....
0
votes
0
answers
90
views
Allow response 404 and serving compressed files without triggering the captive portal
ESP32, Arduino Framework, using these libraries:
lib_deps=
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
https://github.com/guestisp/ESP32AsyncDNSServer.git
here the relevant code:
#...
0
votes
0
answers
175
views
How to print the request content of a Flurl Post call?
I am currently doing a "POST" http call using Flurl and want to be able to print the request content to see if it is correct or not, like this:
var response = await _flurlClient.Request(url)....
0
votes
0
answers
97
views
Custom OncePerRequestFilter reads empty request body – why is the body already consumed?
I'm developing a Spring Boot application (with Spring Security) and need to add default headers (specifically, Content-Type and Content-Length) to requests targeting the endpoint /api/v1/mpos/set-...
0
votes
2
answers
105
views
Angular HttpRequest Interceptor Adding Header Not Working
Using Angular 14 on Win10. I've built a browser app (running non-SSL via ng serve) for LAN use only, that sends a POST request to a web server running on the same LAN. The web server is a Siemens LOGO ...
1
vote
1
answer
33
views
Compare emitted values from the same Request
In my angular component I fetch a list of objects via http-Request and render that data in a List and set some additional configdata based on that list.
In the end I have a "proceed" button ...
1
vote
1
answer
27
views
Angular: data not rendering correctly
people.
I have a Angular application which I am integrating with a node.js server. It works like this:
A service is injected in the component
The component calls the getAccountData() function from ...
1
vote
0
answers
48
views
Object lifecycle changes between .net 4.7 and 4.8 versions of System.Net.Http
I'm working on upgrading a very large legacy solution from .net 4.7 to .net 4.8. It's not been a problem on the whole but now all the projects are upgraded, I've got one failing unit test which is ...
2
votes
1
answer
884
views
Using IntelliJ's HTTP client, how can I run an imported request and pass it variables to be used in the request and response-handler?
I am trying to create a base request in getToken.http that I can import and run in my main.http file. The base request needs three variables, two of which are loaded from the http-client.env.json file,...
0
votes
1
answer
98
views
Convert ANSI to UTF in T-SQL, replacing German Umlaut 'ß' results in replacement of 'ss' as well
I'm trying to convert ANSI strings to UTF for the use in JSON format for HTTP requests.
There is a specialty in German with the Umlaut 'ß'. When special keys are not allowed, 'ß' is written 'ss'. T-...
-1
votes
1
answer
95
views
HTTP Get request does not work when ESP32 is in WIFI_AP_STA Mode
I am trying to get an ESP32 (sender) to send a http get Request to a second esp32(receiver) via WiFi. For that i want the sender to be in WIFI_AP_STA mode and connect to the receiver (AP-Mode) and ...
0
votes
1
answer
199
views
Godot HTTPRequest Errors
I am trying to send nickname to database using MySQL and HTTPRequest in Godot but I'm getting errors.
I don't know what to do because whatever I did i'm still getting errors, used a little help of ...
0
votes
0
answers
253
views
Access Dataverse tables in different tenant from Power Automate
We're currently using Power Automate to manage data that exists in Dataverse tables that are part of the same tenant as the flows. Data access is typically done using the native Dataverse connection/...
-5
votes
1
answer
55
views
Return multiple values from HTTP response [closed]
I am trying to create a property map in "Authentik" which fetches values from other services. in this case I need to use an API key to return 3 values from a request to an Emby Server. At ...
2
votes
0
answers
128
views
Botpress API integration with Google Apps Script returns 404 error
I am trying to integrate Botpress with Google Apps Script (GAS), GAS script is a simple web app that retrieves classwork from Google Classroom and sends it to Botpress. However, when I call the GAS ...
1
vote
0
answers
122
views
Godot supabase realtime connection immediately closes after establishing
I'm new to the Godot engine and trying to connect to my supabase through webSocket. The problem is that after establishing a connection it immediately closes. The application is a game in which I want ...
0
votes
1
answer
36
views
How to handle multiple root elements json in a jmeter graphql request?
I have a POST request which contains multiple elements in json.
I get a 400 error with payload:
"extensions":{"code":"INTERNAL_SERVER_ERROR","exception":{"...
0
votes
0
answers
45
views
.Net Framework ASP.NET MVC web application, when submitting a form, the request's origin is sometimes null instead of the expected domain name
Issue
In our ASP.NET MVC web application, when submitting a form or navigating within the app, the request's origin is sometimes null instead of the expected domain name.
Current Setup
The ASP.NET MVC ...
0
votes
1
answer
67
views
Simulate a Web Site's auto form fill
It can be hard to understand because of my english, but here's my question:
The website is using the responses from GET or POST requests to fill in
form elements. I want to automate it in HTML Agility ...
0
votes
0
answers
47
views
Getting ECONNREFUSED 127.0.0.1:80 error when sending a GET request from FlowXO to GLPI API
I’m trying to send a GET request to the GLPI API. When testing the request in Postman (URL: http://127.0.0.1/apirest.php/), everything works fine, and I get a 200 OK response. Other requests sent ...
1
vote
0
answers
189
views
Getting 403 Forbidden from Cloudflare when accessing FlightRadar24 API using Java RestTemplate
I'm trying to access the FlightRadar24 API using Java and Spring's RestTemplate, but I'm receiving a 403 Forbidden error from Cloudflare.
What I'm trying to achieve:
According to the FlightRadar24 API ...
0
votes
0
answers
47
views
Why am I getting a http 400 error Flutter?
I'm trying to write a code in Flutter that would pick an image with ImagePicker and store it in Firebase as Uint8List using a http request with firebase auth-rest-api. The problem is that I get a 400 ...
0
votes
1
answer
115
views
Receiving Bad Request Error From Starbucks Website
I am not an expert on sending HTTP requests, so hopefully this will be an easy fix for an expert to see.
It will help to understand the overall context, which is to be able to use the Starbucks ...
0
votes
2
answers
71
views
Remove root element from MessageHeader
My problem is that root element is written twice. I would like to delete root element generated by MessageHeader itself:
My code:
var el = XElement.Parse("<wsse:Security xmlns:wsse='http://...
0
votes
1
answer
296
views
Salesforce http callout gets 403 (invalid key) with endpoint that works outside the app
I'm trying to access the LinkPreview API (free). It's setup correctly in Remote Site settings, and the api doesn't require any authorization other than including your api key in the URL params. It ...
1
vote
1
answer
436
views
How does one access the Request Stream when using HttpClient when building a proxy?
I am building a simple proxy server in .NET 8.
The process is as follows:
A client POSTs a request (possibly a large one)
My proxy server gets that request and needs to process the incoming stream to ...
0
votes
2
answers
66
views
Get Request In Angular Seems To Not Resolve, Despite Having No Error
I'm working on a small project and i'm trying to makke my backend and frontend communicate data via HTTP Requests. My back in a spring application, and is only posting data for a coloured grid at the ...
0
votes
1
answer
43
views
Simple HTTP request in Apache Jmeter
Good evening. I'm having trouble with a simple HTTP request. I need to create a load test with JMeter. The given site has authorization. With any request, I get a 200 code without entering a username ...
0
votes
1
answer
98
views
Excel VBA macro for URL redirect detecting returns 200 instead of 301 sometimes
Column B contains the URLs
Column C is intended output for whether it's valid or not, or if it's a redirect
Column D, if it is a redirect, is what URL it redirects to
The following macro works well ...
1
vote
1
answer
148
views
Issues with Uploading Files to Azure Blob Using WinINet API in VBA (Error 12031)
I'm currently working on a VBA solution that uploads files to Azure Blob Storage using the WinINet API in VBA. I've encountered several issues, specifically with the HttpSendRequestW function, which ...
0
votes
0
answers
101
views
Adding videos to playlist - YouTube API SERVICE_UNAVAILABLE error during execution of a Python batch HTTP request
I've been experimenting with the YouTube API client for a few days now and managed to upload single videos to a YouTube playlist. I'm now trying to batch-add multiple videos to a playlist through the ...
0
votes
1
answer
40
views
API client keeps waiting for response until timeout when server side has already responded
I am testing my API server side code in Java Spring Boot. The server side has already responded but the client side keeps waiting for the response body until the client side timeout, server side ...
0
votes
1
answer
39
views
How to make GET requests to multiple links at the same time and obtain the values of the returned results in sequence for conditional judgment?
Make requests for multiple links at the same time, and conditionally judge the value of the first returned result.
If the conditions are met, the values of subsequent request results will not be ...
-3
votes
1
answer
68
views
http.request body forwarding breaks request [closed]
I am writing some sort of proxy and I am trying to forward everything to the "client-server":
const headers = req.headers;
delete headers['content-length'];
const body = '...maybe some ...
0
votes
1
answer
43
views
How to convert the httprequest result to EUC-JP by GM_xmlhttpRequest with encoding.min.js API?
I get the httprequest result from a URL whose charset is EUC-JP and shows Garbled characters.
I tried to get the Buffer result and convert it to EUC-JP, but the result still shows garbled characters.
...
1
vote
0
answers
347
views
Problem capturing requests in Rosetta Stone B1 with Node.js
Description of the problem:
I found a Node.js script to interact with Rosetta Stone Fluency Builder (B1). Previously, in the Foundations program (A1-A2), I used to capture "graphic" and &...
0
votes
1
answer
359
views
Unable to perform http request asynchronously in ClearScript V8
I am attempting to make an http request and get the response back in ClearScript V8 in my C# controller. When I run the function synchronously, it works fine. But I would like to run it asynchronously ...
0
votes
3
answers
692
views
http request works inside android studio , but doesn't work on emulator and real phone ( kotlin , ktor )
I have watched many videos about sending http request in android studio, they involved "ktor" , "retrofit" , "HttpURLConnection" , "okhttp" , etc.... they all ...
-1
votes
1
answer
172
views
"Error 400: Bad Request" when Uploading Images to Azure Custom Vision via Azure Logic App
I am encountering a "400: Bad Request" error when attempting to upload images to Azure Custom Vision using an Azure Logic App. This process works perfectly in Postman, but consistently fails ...
1
vote
1
answer
392
views
Can I perform a GET request / fetch inside of a neovim plugin?
First of all, I'm a complete neovim plugin noob. But I had an idea for my first one that would involve pinging a website to see if the latest version of software matches what is currently installed on ...
2
votes
2
answers
114
views
Limit a query argument to a maximum length
I have a form in which the user can enter a string into a textarea. This string will then be used as a query argument in an api call to an external service.
The service has a limit for the lenght of ...
-1
votes
1
answer
119
views
How can I configure a server to handle a URL path by sending specific data and then serving the index.html file?
On my website, when someone visits example.com, it loads index.html, which is a very interactive page with lots of JavaScript. What I’d like to do is make it so that if someone enters a URL like ...
1
vote
1
answer
272
views
Sending Soap request in VB.net and Receiving 'Server did not recognize the value of HTTP Header SOAPAction' error
I am currently working on a SOAP request using VB.net. I found the code here WebService Send SOAP request and received response using visual Basic that I modified for my need.
Using Postman I have ...
0
votes
1
answer
308
views
Is there any way of getting request body in a interceptor but it can still be accessed by the controllers?
I want to access the HttpServletRequestBody in an interceptor such that it can still be accessed by the downstream controllers of my application as the request.getInputStream(); can only be used once.
...
0
votes
1
answer
96
views
Node js multiple requests concurrently
When multiple users are concurrently accessing this API, the response is getting mixed up. User-1 is getting user-2's response.
I believe this is happening due to something I am globally using in the ...
0
votes
1
answer
2k
views
Monitor HTTP traffic for Azure Web App using Log analytics and KQL query
I have a Azure Web Application in Azure. I have one endpoint :
https://dev-my-app.azurewebsites.net/test
I would like to see all http requests which were done for this endpoint. I have read that I can ...