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
-1
votes
0
answers
23
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
8
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
29
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 ...
1
vote
1
answer
85
views
Python requests and cURL never return a response
I am attempting to scrape the NSE website for a particular company, in Python. I am attempting this using the requests library and it's corresponding get() method. This should return a .html file, ...
0
votes
1
answer
22
views
Can't get data with URL in Postman, but can with passing by key-value
I'm not very familiar with Postman but why GET request returns data when checkbox is marked and without url parameter, like this:
and when I try to put url parameter and unmark checkbox, then doesn't ...
0
votes
1
answer
37
views
How can I using python "get" requests to access API responses with Bearer Token
I ran my codes below but get a response of "Error: 401 Status Code: 401; Unauthorized"
def Pods_Assets(token):
url = "https://api.aqmeshdata.net/api/Pods/Assets_V1"
# ...
0
votes
1
answer
33
views
Getting an error when returning a validation view in Laravel
What I am trying to achieve is to redirect back to the page with validation message if the input is incorrect.
Currently I am facing an error and that says.
Method Not Allowed
Symfony\Component\...
0
votes
1
answer
37
views
Angular HttpErrorResponse 403 on Visual Studio Code console
I'm using Angular 17.3.8 with a non-standalone project, and I'm encountering an error in my VSCode console that I can't understand.
I've created a login system with cookies, and it works fine. The ...
-1
votes
0
answers
28
views
With angular, IF and ELSE functions bypassing GET request?
(Context)
In TS side of the code there are 2 functions that are triggered by a button click, a GET request and a Comparator
The Get Request (which is called inside the comparator) pulls information ...
0
votes
0
answers
27
views
Where one can find the built-in onclick method of a button within a form tag?
I'm trying to understand a little of how the following html code snippet works under the hood:
<form action="/some_action" method="POST">
<input name="name"&...
0
votes
1
answer
44
views
Unzip file in stream request gives UnexpectedSignatureError
Trying to get a file export from a request which is in zip format. I want to download line by line since later I will be uploading to cloud storage and do not want to store the whole file in memory.
I ...
1
vote
2
answers
56
views
Call a Rest API without FE application for every 10mins
I want to schedule a GET API call every 10 minutes without using a front-end application.
Note: Unable to use the scheduler, because of my requirements.
Consider my API is https://xvyz.com/keep-alive
...
0
votes
2
answers
63
views
Python get request produces different HTML than view source
import requests
# Request to website and download HTML contents
url='https://beacon.schneidercorp.com/Application.aspx?AppID=165&LayerID=2145&PageTypeID=2&PageID=1104&KeyValue=...
1
vote
0
answers
81
views
How to do HTTPS requests in Ada Web Server?
I am trying to make HTTPS Get requests to websites in Ada web server. I can currently do HTTP requests without issues but HTTPS fails - possibly due to SSL Certificates. I am only using the client ...
0
votes
0
answers
25
views
How can I fix this get search?
I'm trying to fix a problem in my application where I can't filter words by their meaning.
Example: wordMeaning = "order, request" | meaningSearch = "order"
The application ...
0
votes
0
answers
22
views
How can set the return-fields of GET Request URL of an API to the union of multiple paths
I am working with the Google pagespeed API and I am stuck while creating the URL fields.
The Response from this API is rather lengthy and I only care about certain paths in the api.
Right now the URL ...
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/...
0
votes
0
answers
25
views
Get & post not working: Information not saving nor showing in the terminal after placing debugs
ISSUE I CAN'T SOLVE BY MYSELF:
With python django I'm creating my own /admin page (different dashboard layout). There for a use a standard dashboard layout.
What does it has to do simply.
Manually ...