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.
17,160
questions
-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
...
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, ...
-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 ...
-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....
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 ...
-2
votes
0
answers
8
views
validate the json fields value | AssertionError: expected undefined to deeply equal '[email protected]'
// validate the json field values
pm.test("validate the json fields value", ()=>{ var jsonData = pm.response.json();
pm.expect(jsonData.id).to.eql(pm.environment.get("id_env")); ...
0
votes
1
answer
14
views
How to query post requests on browser
I've been getting started with querying APIs, and I spent a while today frustrated with trying to do a POST request through my browser, the same way I was able to do GET requests. I folded and got ...
1
vote
0
answers
20
views
How can I send a string from a Python script to a webserver?
I need a python script to send a string to a webserver if a condition is true. To check the condition, I have an if loop. However, I'm not sure what commands to use to send the string to the webserver....
0
votes
1
answer
30
views
Cannot Include a Date Range for my Amadeus API Requests for Flight Offers
I am using Python and I am reading the documentation and using the Get request to search for Flights under a certain price for a project in my online course. I am able to get my requests to go ...
0
votes
0
answers
12
views
API request using Axios to Reed API keep getting unauthorized 401 code
Here is my code that I'm using on JS
const keywords = "keywords="+ req.body.keyword+"&";
const locationName = "locationName="+req.body.location;
try {
const ...
0
votes
1
answer
37
views
unable to get the emails from outlook by using graph api - getting NullReferenceException: Object reference not set to an instance of an object error
unable to get the emails from outlook by using graph api get method
public List<Message> GetAllMails()
{
List<Message> mails = new List<Message>();
//var ...
0
votes
1
answer
15
views
Jmeter giving incomplete json response
When i make get call in jmeter
i'm getting incomplete json response.
i have six json object in my response
but when i hit api with jmeter it giving me only 4 json object
but when i hit with postman, i'...
-1
votes
1
answer
51
views
Cannot pass value from service to component
I'm learning to use Angular.
I've done some API with Spring-boot and I've created some components in Angular to view them, but I can't view anything.
I've created in angular a Service to do all the ...