Skip to main content

Questions tagged [get]

GET is one of many request methods supported by the HTTP protocol. The GET request method is used when the client needs to get data from the server as part of the request-URI.

0 votes
0 answers
30 views

Form running GET request instead of POST in Django app

I'm having an issue in Django where when I click save on a form, it sends a GET request instead of a POST. I'm not sure why this is happening, and I've searched about handling forms and POST methods, ...
0 votes
0 answers
31 views

Is the difference between GET v POST in convention or by design?

Background: Looking at some links like these below, I noticed two unique sets of descriptions for GET versus POST. One description states that the difference is in how the information is sent: GET ...
-2 votes
0 answers
26 views

How to force PHP to look at URL [closed]

Update: Alex in the comments below pointed to the source of the problem. Therefore, this question is answered, as far as I am concerned. I have a page where I can choose a dropdown to modify the ...
0 votes
0 answers
9 views

I am having trouble to sending POST requests to the server using AT commands

This is the format for sending an AT command to the server. I have successfully run the GET method. But I am unable to post the image (POST method) to my server. 1: "AT", 2: "AT+...
0 votes
1 answer
11 views

when i am sending some data using post request in django and test it in postman it shows no error but in browser it is not responding correctly

from django.shortcuts import render from django.http import HttpResponse def register(request): if request.method == 'POST': name = request.POST['name'] #in this way we are collecting data ...
39 votes
8 answers
11k views

Why shouldn't data be modified on an HTTP GET request?

I know that using non-GET methods (POST, PUT, DELETE) to modify server data is The Right Way to do things. I can find multiple resources claiming that GET requests should not change resources on the ...
0 votes
1 answer
15k views

Add header to http request

My first post here. I'm using droidscript and I have to include an header that contains a specific user and a password in order to retrieve a token. I'm having trouble because I don't know where to ...
336 votes
13 answers
445k views

Passing base64 encoded strings in URL

Is it safe to pass raw base64 encoded strings via GET parameters?
1 vote
1 answer
10k views

Extract data from Get requests in python

I have got a SimpleHTTPServer in a raspberry pi working with a python script that is executed in the same directory as the index.html web page. The code is the following: #!/usr/bin/python import ...
36 votes
6 answers
57k views

HTTP GET with request body RETROFIT

I am using Retrofit to make api calls in my android application. I have to submit a @Body of JSON @GET("api/") void getData(@Body UserPostRequestBody request) I get error message retrofit....
-2 votes
0 answers
42 views

Is it possible for me to create a button that has the capabilities to download all files in a github repo [closed]

I am currently using ReactJS for frontend and Java Springboot for my backend. One way or another I am trying to have a user click a button on the react frontend and trigger a download of a specific ...
0 votes
1 answer
1k views

telegram bot web app receives data with GET method #tgWebAppData php

This data does not exist in $_SERVER example url wep app request https://example.com/index.php#tgWebAppData=query_id=AAEb3dV3AgAAABvd1Xds7_Fh&user=%7B%22id%22%3A633121272%2C%22first_name%22%3A%...
-1 votes
0 answers
19 views

Return $.get data to main scope [duplicate]

I am trying to use the variables that I set within my $.get function outside of the function itself. Here is the $.get: $.get("process/getTotalSales.php", function (data) { var obj = JSON....
0 votes
2 answers
247 views

Flutter - get package: The getter 'backgroundColor' isn't defined for the class 'ThemeData'

I am using flutter 3.22.2 and installing get package with version 4.6.5. When I build my project, it is always stuck with error log: Error (Xcode): ../../.pub-cache/hosted/pub.dev/get-4.6.5/lib/...
1 vote
0 answers
22 views

Cannot run GET request against Docker container localhost

I am attempting to use Postman to run a GET request against a webservice that I'm running locally via Docker. I have confirmed that the Docker container is running successfully. However, when I try to ...

15 30 50 per page
1
2 3 4 5
1145