Questions tagged [get-request]

HTTP GET Request is a message within a request/response sequence, according to HTTP specification. May also refer to an HttpRequest GET method in software frameworks and libraries that automates relevant functionality

See also:

414 questions
-1
votes
2 answers

How to add variable numbers of parameter in url using expressJS?

I'm using express in a nodejs project to call an endPoint and print the parameters after it in console. The url can be: /printInfo?id=xxx&value=xxx or /printInfo?id=xxx or /printInfo?value=xxx How can I do this?
Araf
  • 263
  • 1
  • 5
  • 19
-1
votes
1 answer

Download handler (php code) is called multiple times for a single request

I have a PHP script which handles the download requests. this script can be accessed by the client using a GET request like this (Javascript): if (true) { window.open('/download?mode=paper&fid=' + fid, '_blank'); return; } And here is the…
-1
votes
1 answer

Fortumo Web SDK processing

I am setting up Fortumo Web SDK payment for my website, I am putting the url in "To which URL will your payment requests be forwarded to?" I am using some DB related code here so that it would insert the code in DB and I could check it afterwards,…
shairoo
  • 29
  • 1
  • 6
-1
votes
1 answer

how to use header in GET request in react native

I have an issue in using header in GET request in react native. await fetch(Global.base_url + 'discount/category_list', { method: 'GET', headers: { "Auth": Global.user_token, "Accept": 'application/json', …
Water Flower
  • 377
  • 7
  • 23
-1
votes
1 answer

Is there a way to consume an api by doing get request multiple times with different url foreach request?

I'm trying to consume the TomTomApi by getting the currrentSpeed given for a location (lat,lon). For each location i need to generate an url to do a get request. But can't find a good way to do it. So in the end i would like to generate 5 urls and…
-1
votes
2 answers

Php Get request with client parameters

I need to make a http get request in php. So far I have the php go to the url and login via the username and password parameters. However the url I am trying to access generates a token using my ip. However this generates the token using the ip of…
-1
votes
1 answer

trying to insert into DB from URL but doesn't work

I am trying to insert into DB getting data from URL but doesn't work here the link http://localhost/test/recevier.php?heat1=33&heat2=33&heat3=33&gas=33&motion=33 here my db.php file $dsn = "mysql:host=127.0.0.1;dbname=test;"; $user = 'root'; $pass…
-1
votes
1 answer

Can`t use the response from a get request using callback function

I make a get request from a url, and I try to use the response further, in another function, so this is what I tried first. var request = require("request"); function getJSON(getAddress) { request.get({ url: getAddress, json:…
-1
votes
2 answers

Wordpress Rest Api wp-json/wp/v2/find?path=

I am trying to setup this repo Angular 2 Universal + WordPress REST API: https://github.com/jussikinnula/angular2-universal-wordpress In the get function there is a search /wp-json/wp/v2/find?path= has that been removed from WordPres rest api? I…
Chris Tarasovs
  • 703
  • 2
  • 21
  • 54
-1
votes
1 answer

Value of type java.lang.String cannot be converted to JSONObject

I make "GET" request in order to get a JSON object. When i try to read the response, an error is thrown. The error is descriped in the header. It's a really miracle for me, because when i run the app on the emulator or in the browser, i get JSON…
David
  • 351
  • 3
  • 11
-1
votes
1 answer

Send a HTTP Request in Python - urllib2.HTTPError: HTTP Error 401: Unauthorized

I am trying to write a python script to send a HTTP request. I read from the Python documentation on urllib2 library (https://docs.python.org/2/howto/urllib2.html#id6) and took the sample code with authentication, but I still get errors. Here's my…
Bramat
  • 979
  • 4
  • 24
  • 40
-1
votes
3 answers

Asynchronous Call and For Loop

I recently had an issue with Alamofire (More generally with asynchronous calls) I have two models, Listings and Users. Listings contains a user's email, and I would also like to get the user's first and last name (I understand I could solve this in…
Darthpepper
  • 31
  • 1
  • 3
-1
votes
4 answers

JQuery: Wait till one GET request completed

I need the application to wait till the first request is completed. The scenario is, if (str != "") { if (str.match(",")) { var poolSequencedStatus = $.get("Request1.do"), function(response){ //alert("Req1") } } …
Nims
  • 41
  • 1
  • 6
-1
votes
1 answer

Getting facebook likes

With Graph Api I can get Facebook Pages likes(/likes). I need get all liked/favorite photos, statuses, comments, posts... I cant find requests for these. Is it possibly get the data?
imCaps
  • 93
  • 1
  • 1
  • 9
-2
votes
1 answer

index.php is not getting the GET variable, but index.php?name=Joe is (ESP8266)

I am trying to send a name variable from my ESP8266 to index.php. This is my arduino code: #include #include #include #include const char* ssid = "NikitaiPhone"; //replace…
1 2 3
27
28