Questions tagged [server-response]

98 questions
0
votes
0 answers

How i get the previous url of a 301 response?

I has current problem: urlA = "https://somethingA.me?someParams=somevalue123" urlB = "https://somethingB.com" When I access the urlA I am instantly redirected to the urlB. How do I do to get the origin URL? (the urlB) When I try to use…
Marin
  • 141
  • 4
  • 13
0
votes
1 answer

Reduce page load time on simple .html file

I have sample html page with some basic content - https://autem-services.fr/prestation.html But for a reason i don't know the page make more than 1s to be load - See picture There are no largest file on it and all external link i place on are few…
Netron90
  • 23
  • 6
0
votes
1 answer

How to get 201 status when uploading a file?

I'm building a react app with node.js (express && multer) and mongodb. When i upload a pic - the file is stored in a folder and the object is created in mongodb, but i get a 200 status instead of 201. What should i add to get the correct status? …
0
votes
0 answers

How to and what responce Client expected from server

My server program in vb6 successfully getting data from client ( Biochemistry analyser operating software). Data came is in duplicates i.e same data again send by client this happen when client give error. " LIS responce timed out". So I think when…
0
votes
1 answer

How can I set server request timeout to 30 seconds limit in local for ruby on rails application?

I'm debugging a issue for production. Where the request takes more than 30s and it fails. I'm trying to reproduce the issue on my local machine. How can I set the request timeout to 30s in local. Working on Ruby on Rails Application with puma.
vikas95prasad
  • 1,234
  • 1
  • 12
  • 37
0
votes
0 answers

Huge Server Response Time (12s) after Wordpress Posts Import (~ 1000 Posts)

I'm not sure if I'm allowed to ask a question here that is not related to coding per se? I'm trying still though, maybe someone can give me a tipp. I'm running an EC2 t3.medium machine for a "simple" wordpress blog - literally a blog with no other…
matt
  • 42,713
  • 103
  • 264
  • 397
0
votes
1 answer

Handling REST API server response

I've been working with REST API CodeIgniter for more than a year and usually when I want to return any response I will return 200 for all kind of request. I know that there are status code provided for all response but I am actually quite wondering,…
Leon
  • 329
  • 2
  • 3
  • 15
0
votes
0 answers

Why is my server response so high (First Byte Time)?

One of my websites has suddenly become extremely slow in server response - currently 41859 ms First Byte Time. Already talked to hosting provider, but they did not notice any changes or problems with the server. So I am lost on what is the problem.…
0
votes
1 answer

Why I am Not receiving proper respond after giving request to server through parameter(ID) in RESTAPI using NODEJS & EXPRESSJS

Node module named dishRouter.js implements the Express router for the /dishes/:dishId REST API endpoint. index.js const express = require('express'); const http = require('http'); const morgan = require('morgan'); const hostname = 'localhost'; const…
0
votes
0 answers

How to re direct to google search within chrome extension?

I would like to redirect a search query to google from a chrome extension but google/chrome does not allow it. I'm to ask a simple link that will redirect to the following: https://www.google.com/search?q=tesla+news. But since my domain is (for…
EliK
  • 157
  • 1
  • 2
  • 4
0
votes
0 answers

Google Unable to Crawl, website unchanged. Thoughts?

I have a free site that utilizes Byethost, which utilizes iFastnet hosting services. For a little while now my site has become "de-indexed" by google, because it cannot fetch any aspect of my site now for some reason. I can access my site without…
0
votes
0 answers

Is SQL query execution a part of TTFB?

I am facing an issue with a load time of a web page where the page loads in around 1.5 min and TTFB is close to 1.2 min. What I see is that the database table has 17k rows which can be a reason of this slowness. But TTFB refers to the amount of…
0
votes
0 answers

Server returns error code 400, but works perfectly in localhost in HTTP request

I am making a HttpRequest to upload 3 images and some params.i have given the code below. Everything is working fine when i make request with localhost, but When i make request with an external server the server returns CODE 400 This my code for…
0
votes
0 answers

NodeJS TypeError: res.get is not a function at res.json(req.res.body);

I just encountered a problem in my code. Despite my efforts, I still can not find a solution. Someone can help me. Thank you very much. I was trying to find a solution on Google but did not have any solutions.I hope to know what happened and how to…
0
votes
1 answer

File upload error - Server Response Error: 'Unknown Server error'

I am trying to upload a file but I'm getting the error Server Response Error: 'Unknown Server error' It's not even going into the function in the code behind so I'm not sure what the issue is.
user123456789
  • 1,914
  • 7
  • 44
  • 100