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,149
questions
0
votes
0
answers
10
views
X-Failed-Recipients value in json output
I am pulling the api https://gmail.googleapis.com/gmail/v1/users/{userId}/messages/{(id)}
I get the full body with all the headers and values in the output but I need to generate the response schema ...
0
votes
0
answers
23
views
mod_rewrite - how to simplify this rule?
I am quite lame about apache and mod_rewrite, so decided to ask for help.
What I want to achieve?
https://myextrawebsite.com/test.php?page=default¶m1=one¶m2=20¶m3=100&...
-1
votes
0
answers
22
views
URLparams for checkboxes in a GET form
<form method="GET">
<label htmlFor="Things">things</label>
<input name="one" id="Things" type="checkbox"/>
<...
0
votes
0
answers
15
views
PHP Get Parameter List [duplicate]
I am trying to extract a list of parameters from a GET URL passed to my .php code..
Have found a few articles on here and elsewhere but none seem to answer this specific question.
.. my URL string :
...
0
votes
0
answers
12
views
NS_BINDING_ABORTED - why browser unexpectedly transform POST request to GET request
Currently I'm working with ancient ASP site (not ASP.NET), I write very simple JS script for submitting form for Delete button and checkbox list. In that script I simple add one parameters and want to ...
0
votes
1
answer
16
views
Error no photo data when uploading a photo from react js to mongodb
When i upload an image to my website it sends the image to the backend to upload the image to mongodb database, I upload the base64 of the image to the database but the problem is that sometime the ...
0
votes
0
answers
31
views
GET Request Works from Mobile App but not from Flutter Web
I have a Laravel application. I have two apps on flutter that call the API on laravel. One mobile application - everything is fine with it - the GET request works. the second flutter for web - the GET ...
0
votes
0
answers
13
views
How do you get the store's menu using the Uber Eats API?
Can the menu for a store be requested by anyone using the API, or is it only available for the store that uploaded the menu?
https://developer.uber.com/docs/eats/api/v2/get-eats-stores-storeid-menus
I ...
0
votes
1
answer
45
views
Creating a Webhook Receiver in Laravel using GET Method for Zoho Sign
I'm working on integrating Zoho Sign into my Laravel application, and I need to set up a webhook receiver to get the completed documents from Zoho Sign. However, Zoho Sign's webhook system only ...
1
vote
1
answer
27
views
Get a single value from an Object returned in Angular
I have service that gets all the data from the database and in the component , I am not able to return a single value from the object it is returning.Following is to get data in the service. I want to ...
0
votes
1
answer
33
views
Next js 13 using own api for nodemailer
I'm building a app that needs a email system, I build it before in pages/api/email that worked.
because of it getting bigger by the day, I want to build a api for the email on app/api/email.
I keep ...
0
votes
1
answer
43
views
How to call Rest API directly in Snowflake?
I am trying to call rest API directly in snowflake. For that I am trying to use Python Stored Procedure. As usual I was trying to invoke requests.get() method. But unfortunately Snowflake don't ...
0
votes
0
answers
37
views
Issues if Requests.get - 403 Forbidden Error
import requests
headers = {
'authority': 'tvc4.investing.com',
'accept': '*/*',
'accept-language': 'en-US,en;q=0.9',
'content-type': 'text/plain',
'origin': 'https://tvc-...
0
votes
1
answer
28
views
Getting the ID of an inline child database in a parent page using the Notion API
I'm trying to get the database ID of an inline child database on a Notion page.
I tried retrieving the parent page using a GET method. (shown in the code below)
import requests, json
# Define my ...
1
vote
2
answers
34
views
The POST method is not supported for route admin/bill. Supported methods: GET, HEAD
In Laravel i use ajax for adding and fetching data from MySQL Database through blade template, i have add form summation on onsubmit event. Please Help me.
My codes are.
Route.php
Route::get('admin/...
0
votes
0
answers
17
views
Nginx (Reverse Proxy) gzip compression working for GET but not for POST requests
I'm using Nginx as a reverse proxy for my server and have enabled gzip compression. Here's the relevant configuration in my nginx.conf:
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
...
0
votes
0
answers
39
views
Apache Camel with 2 GET operations (Parameter and QueryParams)
I am new with Camel in Quarkus and I am working on an API that has two GET Methods with a difference in the parameters sent, one with a specific parameter that is passed and another through QueryParam
...
0
votes
1
answer
30
views
Pass Array to FastAPI GET endpoint from postman [duplicate]
I have the following endpoint in FastAPI:
@router.get("/", response_model=ApiResponseMultiple[MyObject], response_model_exclude_none=True)
async def get_objs(
request: Request,
ids: ...
0
votes
0
answers
23
views
"Error: This action with HTTP GET is not supported by NextAuth.js"
My current project involves the use of credentials signin using next-auth.
In my registration form, i have this code that does an API call to the signup function.
[projects\components\RegisterForm.jsx]...
0
votes
1
answer
22
views
Flutter GetX Bindings not deleting Controller properly
I use GetMaterialApp and getPages a list with GetPage. I cannot grasp how some controllers get deleted and initialized. One of the pages, which is the first one I am implementing this on, is this page:...
0
votes
1
answer
27
views
Validator failing for not defined param
I am using Validator to validate the http request with a defined rule. I have added one rule for GET requests that checks the value of the mode in the input parameter.mode is not a required input ...
3
votes
1
answer
90
views
In C++20, the get<>() function inside <tuple> is no longer in namespace std. Why? [duplicate]
The following code does not compile in C++17 but from C++20 on:
#include <tuple>
int main() {
auto t = std::make_tuple(1, 2);
get<0>(t); // no std:: required!
return 0;
}
...
0
votes
1
answer
21
views
I can't understand getters, setters
I have a hard time understanding getters, setters.
I understand that ‘get’ is for accessing a property and ‘set’ is for changing or mutating that property.
But even if I change _numOfSensors to -5 or ...
0
votes
2
answers
50
views
I want my page be refreshed after post request submitted
i'm creating a comment box with frontend in react; the main component has another one nested and one child.
Here's the main component:
import { useEffect } from 'react'
import { useSelector, ...
0
votes
0
answers
68
views
How can I make upload and stream work for audio on fastapi in a single request?
I am creating an endpoint in fastapi. The endpoint has to accept an audio file and stream back another audio file.
Sample code for that:
from fastapi.responses import StreamingResponse
def iterfile(...
1
vote
2
answers
45
views
When I Send A Post Request The Response Is Empty
I am starting out with express JS with no experience but I got stuck here:
server.js:
const express = require('express');
const router = express.Router();
const app = express();
app.use(express.json(...
1
vote
1
answer
12
views
What to put in the options to get user by id with axios and useeffect when the endpoint in the backend doesn't have params?
I hope my question in the title is understandable. I also have looked up for solution since days ago, but could not find anything that works. Maybe I don't understand I don't know. Any help will be ...
0
votes
2
answers
49
views
Can i scrape twitter post image directly from a page using a GET request?
Can i scrape twitter image directly from HTML?
The answer is no, or at least according to my attempt it wasn’t
import requests
# The URL for the GET request
url = '<twitter post link here'>
# ...
-4
votes
1
answer
57
views
What does this line of code in CS50s practice problem do ? (Language is C)
I am currently working on the "half" practice problem in week1 of the CS50x course. I am having trouble reading a couple of lines in the code they provide and was hoping someone could clear ...
0
votes
0
answers
33
views
2 Ways of Javascript Get Requests Failing - Did I skip a step for calling APIs?
I think I ams kipping steps in the process here becuase nothing is happening call wise. I put he same get request in postman, I got my response.
The following webpage:
Debug - after the first fetch
...
0
votes
1
answer
29
views
Updating Multiple Products with API
I'm trying to update thousands of products on an ecommerce site (Houzz) using a POST request in Postman, but I'm not sure how to format a large quantity. I'm able to successfully update the product ...
0
votes
1
answer
47
views
How to send data to API using SIM900
I have connected GSM SIM900 to laptop using USB-Serial converter. I have a GET API deployed on Azure. I am trying to send data to it using below AT commands:
AT+CCID
AT+CREG?
AT+CGATT=1
AT+CGACT=1,1
...
-1
votes
1
answer
25
views
.htaccess GET parameters for friendly URL doesn't work
I'm looking to make my url's more seo friendly but I'm really having a hard time figuring out what the issue is because I've been trying to rewrite this url for 3 days now. No code doesn't seem to ...
-1
votes
1
answer
82
views
Error when making HTTP GET request in Go: "dial tcp: lookup api.ipify.org on [::1]:53: read udp [::1]:50975->[::1]:53: read: connection refused"
I'm trying to make an HTTP GET request in Go using the net/http package to retrieve my public IP address using the api.ipify.org service. I'm encountering an error only after I build the application ...
1
vote
1
answer
90
views
The 1inch api im calling is being blocked by a CORS access Control error, im totally lost after trying a few methods to fix the problem
I'm almost finished following a Moralis DEX tutorial, and I've encountered a CORS Access Control error in the console when attempting to call my swap function, which involves making calls to 3 ...
0
votes
2
answers
42
views
Exception has occurred. _ClientSocketException (ClientException with SocketException: Connection refused (OS Error: Connection refused, errno = 111)
My products.dart in models folder is :
class Products {
final String? id;
final String? createdAt;
final String? price;
final String? name;
final String? description;
final String? color;
...
1
vote
0
answers
36
views
Every minute a GET request is sent to my Server even though the request is a POST request, and I never call the function
I am building an app using swift that is based around the idea of streaks. You open the app, log in, and the server sends back your information based on your login. I have a function, called
...
0
votes
1
answer
15
views
Error when running minikube tutorial export POD_NAME
I'm running the kubernets bootcamp tutorial using minikube and one of the tutorial asks to register the POD_NAME by running a command:
export POD_NAME="$(kubectl get pods -o go-template --...
0
votes
0
answers
8
views
Find which script is run when request (GET) is sent to port
I am having a hard time trying to do something very simple. I basically want to send a GET variable via URL https://localhost:port/?foo=bar and capture it on the script that handles it.
The problem is ...
-1
votes
2
answers
50
views
HttpClient Get request returning null response
Trying to do a get request but it keeps giving me "null" as a response, tested the URL and there seems to be no problem with it.
using System.Net.Http;
using System.Threading.Tasks;
internal ...
0
votes
1
answer
71
views
How do I batch get message headers in python using Gmail API?
I have looked at all the answers I can find and the closest one only provides four lines of code and I can't get it working within my larger script.
I want to:
download the complete list of messages ...
0
votes
2
answers
43
views
Get request data from the front end to flask is handled perfectly fine at the local host but not in the server
I am using this code to send data to the front end and then redirect it to another function.
@app.route('/get_destination_data', methods=['GET', 'POST'])
def get_destination_data():
data = request....
0
votes
0
answers
12
views
Issues with Loading Profile Avatars via YouTube API
I'm attempting to use the YouTube API to retrieve profile avatars of channels. In the API response, I'm obtaining avatar URLs in various sizes, such as default, medium, and high. However, when I try ...
1
vote
0
answers
15
views
Get Request Returns 404 on Product Flask backend ,React Frontend (render.com)
I have a simple app it works on my local machine .
Here is the sample react code API_URI is my backend domain that render gave me:
const fetchProducts = useCallback(async () => {
try {
...
0
votes
1
answer
33
views
About Form method's [closed]
As a junior trying to make form like google form and I want to collect data using GET/POST form methods in my project. I tried some code in books but I get clear page or no output from the form. ...
1
vote
0
answers
62
views
Unable to redirect to a URL in Selenium Python
I am automating a website for my study project but when I am performing a get function on the url it's not redirecting me to the desired url instead the page keeps on loading and after sometime it ...
1
vote
1
answer
46
views
Parsing get request arguments on the server side in Python
I have a Python script hosted on a cloud server, and I have an API which is used to execute this script. The API and method to execute this script are given below:
import requests
url = "https://...
0
votes
1
answer
17
views
JMeter - state, nonce, code Parameters in GET request
I am trying to variablize the state, nonce, and code for GET requests for my JMeter script. I am able to successfully generate a random string of 50 characters (for state and nonce) and can generate ...
0
votes
0
answers
13
views
REST Endpoint: why am I retrieving duplicates using paging?
I'm trying to use a GET statement to retrieve one variable from all entries of a Rest-endpoint. It's the user_ID I'm retrieving. The response is a typical Json file. I only save the user_ID.
There are ...
0
votes
0
answers
17
views
The terminal doesn't display UTF-8 accents (C++17)
The code below compiles without errors or warnings. When I run it, the terminal doesn’t display the accents that it should. For example, in the line "Você digitou: " (line 29). I believe ...