Questions tagged [server-response]
98 questions
-1
votes
1 answer
How can i get body from res of express ServerResponse [Autodesk forge]
It seems like stream but i just wanna read that res.body.id from that
but can't able to JSON.parse or JSON.stringify because that is like ServerResponse [object]
// can't even read as a stream also
function readStreamToEnd(stream) {
var chunks =…

Imbharat420
- 206
- 2
- 11
-1
votes
3 answers
JSONexception while fetching JSONArray JSONObject
Getting JSON Exception while fetching json response from server.I have tried many solutions given on stackoverflow but thats not working.Below is my code for sending parameters to the sever and fetching json.Please help me guys.Any help will be…

Mobo
- 3
- 4
-1
votes
1 answer
Apache commons tftp client, detecting not responding server
I wrote a simple TFTP client in Java, using org.apache.commons.net.tftp.TFTPClient. As server for testing i use tftpd64 and while it's running, everything works fine. But when there isn't any server running, functions sendFile() and receiveFile()…

KrzysztofW
- 57
- 4
-1
votes
1 answer
response code always give 200
i'am tring to login into website with post method ... to right here the code is code but the response always give me 200 ... i want to know if i logged in successfully with the right username and password or not !!! ... also if i removed permitAll()…

Omar
- 37
- 1
- 10
-2
votes
1 answer
How to make Toast to display LogCat text?
I have an HttpPost which sends data to a server to be stored on a database. When that data is successfully stored I get a response in my LogCat that says "message has been saved successfully" (this response was defined in my PHP code). I am happy…

Keegs
- 95
- 3
- 11
-3
votes
1 answer
Angular_returns timespan as array
How to filter TimeSpan response with Angular.
This is what i get from server (JSON form of TimeSpan)
{"0":"\"","1":"0","2":"2","3":":","4":"0","5":"0","6":":","7":"0","8":"0","9":"\""}
The server call is
public TimeSpan GetCurrentWorkhourState(int…

sparrkli
- 661
- 1
- 7
- 17
-4
votes
1 answer
How to change from one web page to another smoothly
I would like to know when we have for example 2 pages and want to change from one page to another, can we retrieve the website using Asynchronous Javascript and apply the transitions before the response is received from the server?
Ill try to…

Evangelos
- 69
- 9
-7
votes
2 answers
What can delay "Time to First byte" by almost 2s?
I have enabled a PHP profiler, well magento, but it is still a profiler.
This is the standard magento compiler that records all the processing including all db queries to create the page, from receiving the request.
I am testing with a the php…

tread
- 10,133
- 17
- 95
- 170