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:

321 questions
53
votes
2 answers

How to obtain values of parameters of get request in flask?

The answer that I found on the web is to use request.args.get. However, I cannot manage it to work. I have the following simple example: from flask import Flask app = Flask(__name__) @app.route("/hello") def hello(): print request.args['x'] …
Roman
  • 97,757
  • 149
  • 317
  • 426
29
votes
4 answers

How can I send Cookies with Guzzlehttp/guzzle 6?

I need to send a request with custom cookies. I have tried to set cookieJar like this: $cookieJar = CookieJar::fromArray(array($cookieName=>$cookieStr), 'api.mobra.in'); $res =…
steve
  • 1,150
  • 4
  • 13
  • 24
21
votes
2 answers

jQuery: Wait till multiple GET requests are successully processed

I need to issue multiple $.get requests, process their responses, and record the results of the processing in the same array. The code looks like this: $.get("http://mysite1", function(response){ results[x1] = y1; } $.get("http://mysite2",…
amir
  • 355
  • 1
  • 2
  • 8
20
votes
4 answers

NSURLConnection Authorization Header not Working

I am trying to send an OAuth access token in an HTTP header via NSURLConnection but it doesn't seem to be sending the header because the API keeps giving me an error saying that "must provide authorization token". This is the code that I am…
harryisaac
  • 1,041
  • 1
  • 9
  • 17
11
votes
4 answers

How to show progress of Axios during get request (not download or upload)

I want is to show a progressbar while Axios is getting my requests. axios package has both onDownloadProgress and onUploadProgress to show a progressbar during download or upload, but no progress bar during get request. I've searched a lot of…
Cédric Bloem
  • 906
  • 2
  • 9
  • 29
8
votes
5 answers

How to send a list of integers to web api 2 get request?

I am trying to accomplish this task in which I need to send a list of id's (integers) to a web api 2 get request. So I've found some samples here and it even has a sample project, but it doesn't work... Here is my web api method…
Liran Friedman
  • 3,343
  • 8
  • 42
  • 85
6
votes
2 answers

error TS2322: Type 'number' is not assignable to type 'string'

I am trying to build an app, where I want to get my posts, at first, by user and then when a post is clicked, I want to get this particular post by id. And finally I get the following errors: ERROR in…
Tolis
  • 61
  • 1
  • 2
6
votes
2 answers

www.text returning strange value in Unity3D (C#)

I'm using Unity 3D's WWW to make http requests: http://docs.unity3d.com/ScriptReference/WWW.html It seems that no matter what kind of data I'm trying to access, it just returns: ���� every time. I've tried json files, I've tried php that just…
heckascript
  • 2,034
  • 3
  • 22
  • 39
5
votes
1 answer

oAuth 1.0 get request retrofit android

I want to implement oAuth 1.0 get request using Retrofit but not able to get response. Response of Postman: { "1": { "entity_id": "1", "parent_id": "0", "position": "0", "level": "0", "name": "Root…
Kunwar Avanish
  • 713
  • 2
  • 8
  • 30
5
votes
2 answers

Populate Django Database with data from API Get request

My project is built around making API requests (getting JSON) and outputting information from those requests. 60-80% of the requests are requesting Static Data that will rarely change. I want to store this static data in a database that way I don't…
CaldwellYSR
  • 2,855
  • 5
  • 28
  • 50
4
votes
2 answers

How can I establish a secure channel for SSL/TLS from a handheld device?

I am trying to call a REST method from a handheld device (Windows CE / Compact framework) with this code: public static HttpWebRequest SendHTTPRequestNoCredentials(string uri, HttpMethods method, string data, string contentType) { …
B. Clay Shannon
  • 1,055
  • 124
  • 399
  • 759
3
votes
1 answer

How to accept variable amount of parameters in Google Sheets

Im building a solution in which the amount of parameters added to a HTTP get request is variable. This means the url can carry 1 to n amount of parameters. The parameters in the URL are identified with a standard name and attached index. Here is a…
3
votes
1 answer

Domino Data Service - get document(s) by searching with field value

I tried everything, but it woudn't work, I knew there are some similar questions out there with answers, but the questions were asked 5 years ago and aren't up to date and arent't working. My Question is: How can I search for field values by using…
3
votes
3 answers

Nodejs + Express: How to get an element which made an HTTP GET request?

I am making a front using Express. I have a table where each row has a link that makes a GET request, so that the back-end (done with node.js) returns a file corresponding to that row. All links make the url GET request like…
3
votes
1 answer

while calling get web service request Using Retrofit. "android.os.TransactionTooLargeException: data parcel size 1575704 bytes"

This is my code. I am simply calling get a request for my profile through the activity. And I got this error for that. when I comment the method call (Get Request method) it works fine and shows me my UI. but when calling it just showing a black…
1
2 3
21 22