Category "http"

React page gives back 404 page after refresh

I have a decentralized app with a React frontend. If I go to the homepage (https://app.valerianprotocol.com/), everything works fine and I can refresh the page

Flutter http post request to a PHP file

I am using Flutter for mobile app development. I need to make a POST request to a PHP file in order to save data in my MySQL server. However, I check the reques

How do I check all the redirects of a URL and get it as an array?

I'm making a site which checks all the URL redirects, just like wheregoes.com. This site doesn't provide any APIs. I have to get all redirects, then select the

type 'List<dynamic>' is not a subtype of type 'List<Parking>'

I'm calling an API but I've been trying to parse this JSON response correctly but I haven't been able to resolve this issue. I call the API, and want to display

Flutter/Dart: How upload binary file to Dropbox?

I'm trying to upload a binary file to Dropbox using https://github.com/dart-lang/http. Following https://dropbox.github.io/dropbox-api-v2-explorer/#files_upload

Dart/Flutter: Http request raises XMLHttpRequest error

I am trying to make an RSS reader with flutter but the program raises the XMLHttpRequest error. In my test I used web (Chrome) as my target platform. I already

cURL request with 'User-Agent' header works fine but doesnt work in node with axios/fetch/https

When i make a curl request to a website for webscraping with the header "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0" it wo

I'm not receiving response from API when making a post requisition in FLUTTER

I'm facing a strange error when I'm sending data to an API. I have some endpoints that work pretty fine when I send and receive data. But one of those is giving

put request Angular to update entire object

I trying to do a put request to update a big object. The object is structured like this: Budget The dailygoal with the date and the percentage is displayed like

Flutter http request not accepting headers but it works on postman

I am getting a really frustrating experience. Am making a post request to an api, works well on postman but refuses to work on flutter. Here is the error respo

How to manually extract context or span from incoming http request in NodeJS?

I trying to migrate my Node.js application from jaeger-client to @opentelemetry/* packages In my Node.js application i have a simple http server and i want to c

Nested REST API resource not found

This feels like what should be a very common question but I cannot find anything related to it. I am working on a 'REST' API with nested / sub-resources GET /us

Handling this website which is redirecting to the same url with BeautifulSoup

So I'm scrapping this website: https://www.hepsiburada.com/apple-macbook-pro-m1-cip-8gb-256gb-ssd-macos-13-qhd-tasinabilir-bilgisayar-uzay-grisi-myd82tu-a-p-HBV

HTTP Response Error - Firebase + Node JS 16

I've reduced my code to the bare minimum to troubleshoot why I receive a response error when I put a HTTP request in. I first receive a status 200 message upon

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

How to make in java an http post returning binary data using plain Sockets

Because some restrictions, I have to use plain Java sockets to download a file published in a http web site. This is how i am reading the response: String serve

Mapping a Subdomain to a NodeJS web server running in a docker container with a specific port?

I have a server running Pterodactyl panel which uses Docker. I'm using a Nodemon js egg to run a Node JS webserver I developed. The server uses 5500 as the port

type 'never[]' is missing the following properties from type 'Observable<Customer[]>'

I want to fetch customers list from my back-end via get Http call. But i am unable to declare array of customers in my component. I have customer.interface.ts l

Empty Body HTTP Post request Flutter

I am trying to send a Post request but the body of the request is meant to be empty and I have tried the endpoint on postman with an empty body and it works. Bu

Using Mitmproxy to strip SSL in a proxy chain results in maxRedirects-error

I want to setup the following Infrastructure, however I have issues with MITMProxy. Client --https--> MITMproxy --http--> squid --https--> Internet So