Questions tagged [request]

A request is a message sent by a source to another object.

A request is a message sent by a source (e.g. computer, client, browser ...etc) to another object or device (e.g. server, computer, phone, app ...etc).

src : wikipedia link

15235 questions
3
votes
2 answers

Zamzar API download failed

Unable to download the converted file from zamzar api using python program, as specified on the https://developers.zamzar.com/docs but as i am using the code correctly along with api key. It is only showing error code : 20. Wasted 4hour behind this…
The Gr8 Adakron
  • 1,022
  • 1
  • 11
  • 14
3
votes
0 answers

Node Request Library: Setting the Read timeout

I have a server which responds quickly, but then has to grab data from an external source. I believe this is causing a read timeout. getSubdeviceStatus(){ var parent = this; let fullUrl = this.baseUrl + this.getSubdeviceStatusEndpoint; …
John
  • 2,180
  • 1
  • 12
  • 31
3
votes
3 answers

When POSTing via AJAX / jQuery, one big request or a lot of little ones?

Alright I'm going to create a fairly complex form to post via AJAX a lot of different types of information PHP page which will then parse the data and CURL the various datatypes into the correct tables in another database. Usually I just send a HUGE…
Mojowen
  • 307
  • 3
  • 16
3
votes
6 answers

How do I detect the client has javascript turned on/off from Rails?

I don't want to deal with users who have javascript turned off, so I want to just prevent them from using my application. I want to detect if the user has javascript turned on so I can redirect them to a page that tells them they need to use…
aarona
  • 32,176
  • 39
  • 119
  • 171
3
votes
1 answer

How to transform a Neo4j Query to a GraphQL query?

I'm new on stack overflow and I really think that you can help me. I started few days ago to work on NEO4J and graphQL. In the following code, my neo4j request works without problems. About graphQL, I think I made a mistake because, the result…
3
votes
0 answers

Parsing Response Html - from Node Request Package

I'm trying to request data from a public LinkedIn page using the Request Node Package. I was using Cheerio to parse the response but it mysteriously started returning undefined when I would try to use the filter isolate data. This was my request…
Ahrobe
  • 31
  • 2
3
votes
1 answer

How to stop/abort/cancel a page load in PhantomJS?

I use PhantomJS to check a list of links for specific content. Once these content is found I would like to cancel the page load to avoid further ressource requests and continue with the next page to improve speed. I filter requests in…
Vega
  • 1,830
  • 4
  • 17
  • 29
3
votes
2 answers

node.js request POST array "first argument must be string or buffer"

I am trying to send an array from one node.js process (client) to another (server). My code on "client" node.js: var express = require('express'); var app = express(); var config = require('./config'); var bodyParser =…
Egidi
  • 1,556
  • 7
  • 38
  • 64
3
votes
2 answers

Rails no route matches PUT, but rake route shows it exists

I'm trying to implement a page where I can add a quantity to a product in a cart. Any good tutorials on this? So I tried implementing the typical edit form with the form_for but that kept giving me errors like this... <%= form_for(@cart[0]) do |f|…
Kendall Weihe
  • 1,933
  • 2
  • 22
  • 52
3
votes
1 answer

How to call directly a function php using Retrofit android

I have used retrofit to communicate my App with the php server. But I want call directly a function PHP OO. This is my class PHP: class Car extends Obj { public function __construct($name, $pathImg) { parent::__construct($name,…
Diego Dias
  • 31
  • 1
3
votes
1 answer

Flask: Return button's id via ajax

My goal is to return the button's ID to the python script and use it to control stuff the script is doing. After trying a whole evening and basically going through it with try and error I am a little frustrated with it, because there must be…
ato
  • 644
  • 1
  • 5
  • 9
3
votes
1 answer

NodeJS request timeouts with concurrency 100

I have two machines, one "server" and one "client". Both are CentOS6 with NodeJS v5.8.0. The server runs the following program: const AppPort = 8080; var app = require('express')(); var logger = require('log4js').getLogger(); var onFinished =…
rlib
  • 5,716
  • 3
  • 25
  • 36
3
votes
1 answer

How can I access request in Play Guice Module?

I am writing an application which handles multiple systems. The user can choose the system which he wants to work with and I store that system ID in session (client session) Now I have Service classes, lets say CustomerService. class…
Priya R
  • 401
  • 4
  • 11
3
votes
0 answers

WCF: how to recognize pending HTTP requests

Observed behavior (example): When sending 100 HTTP requests to my WCF service, the WCF framework receives and dispatches only 11 requests, because my backend code limits concurrent processing to 10 requests at a time. According to Fiddler the 12th…
uebe
  • 388
  • 3
  • 9
3
votes
0 answers

Unsupported URL swift ios sending Http request

I'm trying to send an http request in swift. I got a method (sendHttpRequest) that take as argument a dictionary and trying to send a request to localhost with a little server in php. When I tap button that call this function an…
Marco Castano
  • 150
  • 3
  • 11
1 2 3
99
100