Most voted "get" questions
GET is one of many request methods supported by the HTTP protocol. The GET request method is used when the client needs to retrieve data from the server as part of the request-URI. DO NOT USE for other get types.
Learn more…196 questions
Sort by count of
-
0
votes1
answer248
views -
0
votes0
answers83
viewsMongodb error - geoNear "in geo indices"
To get a Mongodb database use the following code: router.get('/multibancos', function(req, res, next){ MB.aggregate().near({ near: { type: "Point", coordinates: [parseFloat(req.query.lng) ,…
-
0
votes1
answer762
viewsHow to load php page using javascript (with GET method)?
Good afternoon! I have the following problem: I have a php page (products.php), where the page body can vary according to 2 files (products-filters.php and products-wfiltros.php) that are loaded via…
-
0
votes1
answer71
viewsHow to filter another page result with Jquery Load() or Get()?
In an HTML have for example: <fieldset> <div> <h3 class="title title-line">Dados da conta</h3> </div> <div class="ch-form-row"> <label>Usuário</label>…
-
0
votes0
answers134
viewsHow to detect the end of a file reading in a while loop in C++
In my code, there’s the struct: struct material { int idmaterial; double rho; double precokg; }; And the reading function of a data vector of type "material", from a file:…
-
0
votes1
answer57
viewsError using POST Angularjs
My controller is like this: app.controller("listaTelefonicaController", function ($scope, $http) Inside it is my adding function ctrl.adicionarContatos = function (contato) { contato.telefone =…
-
0
votes1
answer1504
viewspass multiple variables through the GET url
I want to pass two variables to another page through GET. I already have one working like this: <a class='fa fa-remove' href='remover.php?remover=carrinho&id=$idproduto'…
-
0
votes3
answers1387
viewsHow to use checkbox group to search with php and mysql
I’m developing an immovable site with a search, where one of the filters is the neighborhood. Currently it is a Dropbox, but I would like to swap by checkbox group to be able to select more than 1…
-
0
votes0
answers34
viewsHow to Catch Device Serial in PHONEGAP?
I need to get a phonegap. At the end of the URL I would like to add the device ID to see if it is already registered or not in the database. For sending I use the Ajax function of Jquery. Below…
-
0
votes1
answer31
views -
0
votes1
answer336
viewsAngular: persist get return in function/variable
booksList: Book[]; listById(id: number): Book{ this.http.get<Book>(`${url}/list/id=${id}`) .subscribe((response)=> { this.book = response; console.log(this.book); //aqui existe o livro…
-
0
votes0
answers126
viewsProblems with GET Angular 7 request
Good evening guys, I’m trying to create a requisition like get in my Angular application, but it’s popping that error. I couldn’t understand what you mean and none of the possible solutions I tested…
-
0
votes0
answers155
viewsErrorexception (E_ERROR) Trying to get Property of non-object
I tried to turn the page using backup to solve the problem but I can’t. I go up the page and she keeps on making the same mistake, I don’t know how to fix it. If there is some easier way for the…
-
0
votes0
answers66
viewsDoubts about the $_GET variable
I have this research form And I’m getting her fee for the $_GET on this route $app->get("/search", function() { $page = (isset($_GET['page'])) ? (int)$_GET['page'] : 1; $pagination =…
-
0
votes0
answers86
viewsERR_CONNECTION_CLOSED - PHP and Javascript
The script below works perfectly when my site is without SSL, ie with the domain http://www.dominio.com.br, but when I activate SSL for the site to look like https://www.dominio.com.br, Google…
-
0
votes1
answer38
viewsStore a get in an object and bide from it. Vue.js
I have a working GET method (I am not using Axios) and I would like to save its result in an object (this result can be varied, because this GET returns an object with several other objects. I tried…
-
0
votes1
answer110
viewsPass parameters on GET
I’m trying to do a GET to validate a user using Cpf and password,using DAO, but I’m not sure when to pass the parameter. Follow the get code private Usuario usuarioLogado; @GET…
-
0
votes1
answer17
viewsError in listing interface
I’m doing a college exercise, and when I click the resposable button for listing, my table is redone whole, so I lose the names that should be on the first line, which are: -Codigo -Limite do Prazo…
-
0
votes1
answer143
viewssubmit php variable and form with single Submit
good evening everyone, I’m doing a job at my college and I’m having a hard time at one part. I’ve researched and tried several ways, as I’m starting maybe there’s another way that I don’t know. I…
-
0
votes1
answer190
viewsHow to display message after updating a record using PHP?
Well, inside my main page(index.php) I check if there was any request to the server. // Atualizar if (isset($_GET['update'])) { $id = $_GET['update']; $cliente = array( $nome =…
-
0
votes0
answers125
viewsHow to get all files used on a page using "requests"?
As we know, when accessing a website by browser, various files such as images, music, scripts, CSS, among others, are downloaded to be used within a page HTML. Using the library requests, it is…
-
0
votes1
answer47
viewsPWA - How to pass parameters to another page while offiline?
I am developing a PWA application that will work mainly in offiline mode, I have created and implemented virtually everything, indexedDB, service-worker, etc... I am trying to pass some parameters…
-
0
votes1
answer169
viewsKeypress event does not work after $.get() request
I’m developing a php system and I’m using Jquery for Client Side requests. I have a simple routine for processing inputs that does not allow the user to type a non-numeric character. The script…
-
0
votes1
answer449
viewsHow to run an INSERT Procedure with the GETDATE field? SQL Server
Next, I created a precedent that has two parameters Dt_inclusion and Dt_alteration, I would like to know how to insert(or if it is possible to use) a getdate to pick up the current date, instead of…
-
0
votes1
answer32
viewsCan I convert the output of an object using get()?
How do I convert the output of an object when using the get() function? Since it always returns a value string. Here’s a code I’m writing: import tkinter as tk import Sistema_backend top = tk.Tk()…
-
0
votes0
answers209
viewsHow to hide body from an http post ( where it contains the password ) of people who are analyzing network traffic?
Good morning beast... I have a windows application accessing a web api in the cloud and picking up some security data from my system... this api is for exchanging information only with my windows…
-
0
votes0
answers31
viewsAngular Httpclient.get taking time
Good afternoon, guys, next, I’m developing a project of my course with some people, but there’s an excerpt where I’m suffering a little for the reason that the code sends the request to my back (In…
-
0
votes1
answer72
viewsWhile doesn’t display if I use get id?
Can someone help me understand why this code is failing to display the genre of the bank? <div class="first_info"> <?php $vide = $_GET['i']; include "core/home/database.php"; $consultaGe =…
-
0
votes1
answer39
viewsHow to put returned Web Service data into Json (GET) for an array or variable in c#
Hi, I’m calling a web service in Rest, I can access the answer but I wanted to organize the data that is returned (which is in Json), for an array or variables but how can I do it? Thank you in…
-
0
votes1
answer26
viewsHow do I perform more than one database query on a single request . GET on the same route on NODE.JS?
I am creating an API for a personal project, and I need to make 2 queries to the database in the same GET request. My code looks like this: module.exports = { async listarAnual(req, res, next){…
-
0
votes1
answer20
viewsSimple GET Request
I’m trying to consume a Federal Board of Medicine API but so far unsuccessful. This is a very simple GET request: https://portal.cfm.org.br/api_rest_php/api/v1/medicos/buscar_foto/9666/PA Where the…
-
-1
votes1
answer56
viewsWhat’s wrong with this concatenation?
$('#cidades').load('cidades.php?estado='+$('#estados').val()+'&cliente='+idcl);…
javascript variables get string-concatenationasked 8 years, 11 months ago Gladison Neuza Perosini 861 -
-1
votes1
answer1018
viewsHow to dynamically mark checkbox fields with PHP?
I’m sending neighborhoods by $_GET through a form and would like to mark them dynamically in updating the screen thus making a system of persistence of the search results. <fieldset…
-
-1
votes1
answer66
viewsPerform external value calculations ($_GET)
Good afternoon, I’m new in php, and I’m doing some exercises, but I’m not able to do an exercise that ask to do sum, division, multiplication or subtraction depending on the values entered in $_GET,…
-
-1
votes1
answer178
viewsHow to restrict GET requests from other sites?
I’m trying to stop other sites from copying my download links, but they’re unconventional (they don’t have format at the end), so I can’t block through Apache mod_rewrite. So I decided to block GET…
-
-1
votes1
answer322
viewsWhat should I return in a REST API when the results are either true or false?
When I search for information in the database and this information is not returned (because it does not exist), what should I do? Fill a JSON object for GET return? And if it returns false? Can…
-
-1
votes1
answer441
viewsSave API request response as JSON file
When making a request to the URL(API), the result is a JSON. How can I save this JSON to a.json file locally on my machine? My code so far: var xhr = new XMLHttpRequest(); xhr.open("GET",…
-
-1
votes1
answer37
viewsRequest get method
I would like to make a request get on this api https://api-v2.blaze.com/roulette_games/recent(External api, I don’t have access to it to enable Cors), however, when I do it returns me an error…
-
-1
votes2
answers365
viewsfilter_input GET
I need to recover the value of GET to perform an insertion in the bank through the post method, but when calling the function through Submit, "Call Stack". Code <?php session_start();…
-
-1
votes1
answer107
viewsHow to catch a child object using Axios?
I’m making a website using React. When I run the GET method, I get the following result On the front, the code is like this: import React from 'react' import axios from 'axios' export default class…
-
-2
votes1
answer66
viewsSent data via GET and POST with Java Script
People see if anyone can help I have a variable called "ssid" where there is information that to send to a php file, someone can help me how to do? function chamarSS(ssId ){ if(ssId){…
-
-2
votes1
answer58
views -
-2
votes1
answer286
viewsI’m not able to send a POST to PHP by Javascript fetch
I’m trying to send a POST to PHP using fetch, the code is like this: <button onclick="fnConsultarDadosPost()">Consultar com POST</button> <button…
-
-3
votes2
answers980
viewsIndefinite Index - PHP
In my PHP code, even with Mysql and Apache linked, error appears Notice: Undefined index: name in C: xampp htdocs store add-product.php on line 4 Notice: Undefined index: preco in C: xampp htdocs…
-
-4
votes1
answer1618
viewsWhat is the difference between $_GET and $_POST?
Could they explain in detail what they are? And also give examples of how they work?
-
-4
votes1
answer41
viewsHow to get the value of a GET in PHP
Would you like to take the value that comes after the bar without using the ? ( query ) Example ( of how it is ) : https://foo.com/teste.php?p=acme As I wish : https://foo.com/acme I can already…