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
58
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
  • 124,451
  • 167
  • 349
  • 456
36
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,358
  • 5
  • 16
  • 26
26
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
  • 1,447
  • 3
  • 16
  • 34
22
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
  • 365
  • 1
  • 2
  • 8
21
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,121
  • 1
  • 10
  • 18
9
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
  • 4,027
  • 13
  • 53
  • 96
7
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
  • 71
  • 1
  • 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…
mmm
  • 2,272
  • 3
  • 25
  • 41
5
votes
3 answers

How to perform an http request to another server from spring boot controller

i want to perform a get request on a server hosted on localhost:80 (for example but could be every host) from my spring boot application hosted on localhost:8080. For example i want to get an image hosted on locahost:80/image.jpg from my spring…
coman
  • 79
  • 1
  • 1
  • 6
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…
Avanish Singh
  • 767
  • 2
  • 8
  • 32
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
  • 3,056
  • 5
  • 33
  • 50
5
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) { …
4
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…
4
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…
4
votes
1 answer

Retrofit get request with nested json object

I was trying to get data from rest api using Retrofit. The api is a get request and the query params should be of the form {state: 'state', filters: {page: 1, filter: ''}} I tried creating a Filter class and annoted the same inside Request body…
user1002448
  • 425
  • 8
  • 22
1
2 3
27 28