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
answer204
viewsError making javascript request
I’m trying to make a request in this format $.get("http://meuurl.com/webservice", function (data) { console.log(data); }).fail(function (data) { console.log(data); }); But I get this mistake Failed…
-
0
votes1
answer855
viewsNodejs - Redirect to error page when unable to access through GET
I would like to know how to redirect to a standard error page, such as a "not-found" page when a type error occurs Cannot GET /rota1/pagina2/18 I need that when the user tries to access a page like…
-
0
votes0
answers30
viewsMethod $_GET[] PHP
I am using the $_GET[] method in php and it is returning the following error: "Do not access the direct Superglobal Array $_GET directly." follows the code: <?php function COMP($Comp, $Lar,…
-
0
votes0
answers238
viewsChange value of all ssearch in a Jquery Datatable request
I’m using the methods $(_table) .DataTable() .column(colIdx) .search(text) .draw(); to perform filters on my Datatable. However, to decrease the number of requests, I perform this function only when…
-
0
votes1
answer160
viewsPHP does not return the second parameter via URL in Google Chrome
It sounds silly, but it’s true. The url: http://musicasitalianas.com/vedere/vede_musica.php?a=us&b=r the PHP code of this file echo $_GET["a"]; echo $_GET["b"]; The result: us What’s wrong with…
-
0
votes2
answers2017
viewsCheck if $_GET exists within the view
Guys is the following, I have a standard html file, which contains : <header data-color="<?php echo $client->client_color; ?>"> <h1> <?php if($client->client_image != ''):…
-
0
votes0
answers115
viewsHow to redirect GET method url with simple htaccess
Good morning, I’ve searched a lot and I’ve found several tutorials but I haven’t touched programming. I need to redirect my urls sent by GET. Ex: current url:…
-
0
votes0
answers96
viewsDoubt how to get the answer (Java)
Friends, it is possible to get the answer of this request through a GET or POST? The page is: http://nfe.sefaz.ba.gov.br/servicos/nfenc/Modulos/Geral/NFENC_consulta_chave_acesso.aspx What I need is…
-
0
votes1
answer470
viewsScript conflict
I am developing a website and for page transitions, using $.get() from Jquery and modifying only the center of index.html, without the page reloading. However, some features of the code snippets…
-
0
votes0
answers52
viewsRest API Returning Token
I need to develop an application in Swift I’m trying to consume a API to log in and when to log in Token, but this Token is already existing in the API, would you like to know how I send it? It’s…
-
0
votes1
answer185
viewsHow to use method="GET'' without the action
I’m creating a mini-search system, the problem is I want to use the method="get" without using the action="" and at the same time be able to css on the page without using the action. Desire to avoid…
-
0
votes1
answer189
viewsGet Json response from URL
Folks I’m trying to get JSON response from the URL below: https://www.cryptocompare.com/api/data/coinsnapshotfullbyid/? id=1182. I’ve tried it in Php and Jquery, and I can’t get the answer. If you…
-
0
votes2
answers74
viewsGet content in Javascript
I need to make some changes to a web page. I am creating an HTML form with Javascript and need help in the following case: My form has a field where the user type the ID of a SPOJ-WWW Test, after…
-
0
votes2
answers854
viewsPass value from a select to a link’s GET parameter
Hello, I needed to pass the value of one to a parameter of a link, this to be sent via GET. I am using the codeigniter framework. Follow the code I have: <div class="col-xs-12 col-md-3…
-
0
votes2
answers47
viewsMore than one value in the same GET parameter
It is possible to assign more than one value in the same GET parameter via http, as if I had passed an array in this parameter? For example: http://www.exemplo.com/buscar?campos=nome,data,endereco…
-
0
votes1
answer77
viewsHow to redirect a search result page (/search?term=brazil) to another page (/country/brazil)
I am setting up a website recipes that has a search that is a form with GET method and MYSQL query to bring the results. I wanted when someone does a specific search, for example brazil, to go to a…
-
0
votes1
answer69
viewsHow do I manipulate and submit data through GET and POST?
I have a web application and need to access an external url that has login and password. Later I must fill out a form, submit the data and receive the feedback in my application! This is possible…
-
0
votes2
answers155
viewsProblem with Android Arraylist
I’m trying to create a listview with images and I’m getting this error and the app does not run. Error stack E/AndroidRuntime: FATAL EXCEPTION: main Process: com.pedido.meu.telas_meu_pedido, PID:…
-
0
votes1
answer25
viewsEndpoints using Vraptor
I have a problem here but I do not know if it gives p/ solve . I have a method that has many parameters so I made a kind of filter, and it was like this : @Get("") public void findByFilter(Filtro…
-
0
votes2
answers970
viewsSQL SERVER - Substring
Good morning Sirs I would like to know how to select a value within a table where it starts with a certain value For example : Campoemail [email protected] [email protected]…
-
0
votes1
answer742
viewshow to pass Url parameter via get
I am having a question regarding passing parameters from one page to another. I have tried it in several ways via get. I can even get the parameter, but not all the parameters I can get. In the…
-
0
votes1
answer53
viewsMake GET request through a Webview
I have a problem trying to send a request via get for a Webview to open the contents of a page, when I pass the concatenated parameters an error occurs, I believe it is for encoding reasons this…
-
0
votes1
answer479
viewsIntegration between systems with PHP
I need to provide a service for other systems to consume. These systems can make requests POST (string, array, xml and json) and GET. Well, I know I can consume services from other systems using GET…
-
0
votes1
answer26
viewsGetopt getting other options as argument
I am making a code that should receive two strings for the execution with the parameters -i and -o, both of which can be null or not,the problem is found when the value of -i is not informed, it…
-
0
votes1
answer44
viewsForm does not send the data to the next page
Hello, I’m making a system of calls to the company where I work, only for T.I. use, because we control by spreadsheet, and I’m having a problem sending the data by POST or GET to the next page, I…
-
0
votes0
answers20
viewsGenerate friendly URL with Wordpress and PHP (GET)
Hello! I need to generate friendly Wordpress URL using GET method in conjunction with PHP. I have a database of registered events, and I want to generate URL with the event name instead of appearing…
-
0
votes0
answers48
viewsWhat’s wrong with that code?
all right? I am a beginner in PHP and I am "side" in a simple code, in which I have seen numerous answers here in the forum, and I did exactly as it is in the answers (until CTRL+C CTRL+V) and it…
-
0
votes1
answer46
viewsInsertion of multiple GET lines automatically php
I have several lines like this: http://192.168.0.1/feed/data.json?id=71667&start=1426031940000&end=1426064520000&interval=30…
-
0
votes2
answers438
viewsGET request via AJAX only works by entering the address bar
Good morning, It’s kind of crazy what’s happening, but I’m making a request via AJAX sending a GET and the return is ok, it’s all right, but this return is a url that after the request should allow…
-
0
votes1
answer76
viewsFlutter Data Passage
I have a button that makes a request get on a server. Data passing is correct however at the time I try to recover in the build class of error. class Layout_ResultadoExames extends StatefulWidget{…
-
0
votes1
answer99
viewsHow to get only specific page elements via Xios.get()?
With the Axios.get method from the Axios.js library I can get an entire HTML page, right? Example: axios.get('http://www.umaurl.com') .then(resp => { console.log(resp) }) But now, if I just want…
-
0
votes0
answers138
viewsSearch Mysql record without using ? id=id in URL
Guys, I’m trying not to use $_GET[] on the link, but I can’t find any way to make it happen. I mean, instead of "site.com/? post=name news" stay "site.com/name-news". I’ve already reviewed forums…
-
0
votes0
answers20
viewsWhat is the role of get before a function?
I am a beginner in the Back-end, and I am in doubt in a code that was listed in the class, I would like to know what the get before function id() const sequence = { _id: 1, get id(){return…
-
0
votes0
answers5
viewsThe get() method is undefined for the Databasereference type
I’m trying to get user score from the site: /users/uid/points and set it in a textview.…
-
0
votes0
answers68
viewsI want to receive an xml from webservice on android
I’ve tried everything, using the HttpURLConnection , with the HttpClient that is deprecated, these two options do not end, stop at the BufferedReader. I’ve tried to use AsyncTask with the…
-
0
votes1
answer122
viewsHow to take data through the GET method?
I am setting up a panel for financial control of a MEI company (This is my company). I am developing the order part, follow doubt: The point is, I already use this GET to search the pages, how could…
-
0
votes1
answer336
viewsError returning from get from Delphi to php
Upload the following get in php http://site.com.br/Autenticacao/index.php?conteudo={"Login":"[email protected]","Senha":"123","Posicao":{"Latitude":"-18.8693459","Longitude":"-41.955664"}} And I get…
-
0
votes1
answer182
viewsHow do I redirect and send url get value to another page using Javascript?
I’m picking up an URL item with this code : function GetQueryString(a) { a = a || window.location.search.substr(1).split('&').concat(window.location.hash.substr(1).split("&")); if (typeof a…
-
0
votes3
answers477
viewsHow to use Friendly Urls in GET method search
I’d like to make that link: meusite.com/?searchInput=Eu+fui+viajar&categorySearch=Filme&submitSearch.x=19&submitSearch.y=17 in meusite.com/category=Filme&search=Eu+fui+viajar…
-
0
votes1
answer720
viewsPass array as parameter for web api in php with Angularjs
In my local environment I use PHP7 and developed Restful API for an application that uses Angujarjs. I needed to make a get request to the Api and pass an array as parameter and did so…
-
0
votes1
answer651
viewsSelect "select" values through "GET"
I’m trying and I can’t seem to do the following: I thought to "automate" the system reporting process that I am doing, for this, when registering the PRODUCT, you also register the column id name…
-
0
votes0
answers68
viewsQuery 3 tables using LINQ and return a Json object
How do I query the database between 3 tables using LINQ by returning a JSON object following the Structure below ? Public class PedidoGrupo{ int id ; string nome ; public virtual List<Pedido>…
-
0
votes1
answer828
viewsVariable within GET Ajax Request
Good afternoon, I need a help, I have this request get from ajax that sends to the web service, and I need to put this variable id, in the url, because inside the webservice I take this variable and…
-
0
votes1
answer50
views$_GET does not receive more than one variable
There is the following link. <a style='color: bfbfbf; text-decoration: none;' href='autorizar.php?id=<?php echo $curso[0]['idCurso'].'&resp=s' ?>'>Sim</a> If yes was clicked…
-
0
votes1
answer1243
viewsHow to capture (GET) multiple values sent in the same variable (PHP)?
After a query, I am sending different values through the same variable (through an input): <input type="hidden" id="sku" name="sku" value="<?= $reg->sku ?>"> This way, my URL is as…
-
0
votes1
answer659
viewsPhp - Pick variable by _GET or _POST? How to make name appears instead of Cpf
Well, I’m doing a project where the student enters by Cpf and date of birth. However, in the user div <div=class"user"> in home.php (where the greeting and user name should be) Cpf appears…
-
0
votes2
answers684
viewsPass input values to PHP
I have two inputs, one filled automatically by a PHP script, and the other the user enters the value, and a third input to calculate the subtraction or addition of the first two inputs. I created…
-
0
votes1
answer395
viewsSwift 4 http get and iterate the JSON response
Hello, I am learning Swift and am making a GET request via URL that returns me a JSON with this structure. { "data": { "response": […
-
0
votes2
answers676
viewsHow to separate data from a GET request and insert into the mysql database with php
I have a form of questions with multiple questions, after the person answer has a save button that sends the answers and questions to the salva.php Follow the get (url): salva.php?…
-
0
votes1
answer65
views