get

Sending a form using the POST method

Hello. There is 1 page, it throws a variable via (submit) post to php, <form action="order.php" method="post" target=""& ... he name, and it still turns out the same. The first submit makes you immediately jump to the final result. How to avoid this?

How do I make a GET request in pure JavaScript?

How can I use javascript to make a GET request and get a response from it (the html code of a certain page)? For example: sit ... true); x.onreadystatechange = function ()alert(x.responseText);} x.send(null); </script> But it opens an empty alert.

How to make a callback only when the images from the get request are loaded

I make a request to the address return which returns the generated html. the request code looks like this: document.addEventL ... oading it looks like this How do I make sure that the loading indicator does not disappear until the images are loaded too?

How to execute a GET request using PHP?

How do I make a GET request in PHP? Let's say I need to make such a request: index.php?host=[host]&port=[port] How can such a request be made? And then I do not try, the request does not come out.

Ajax with cookies or Ajax with server authorization

There is a php script on the site that returns JSON for a GET request. You need Ajax to get this data in JavaScript, another ... that if authorization is not passed (i.e. there is no cookie), the script returns null. Q: How do I send Ajax with a cookie ?

Discord How to get a username with a Discord ID

I have a lot of Discord IDs. I would like to get from ID -> user#1234. In the official API, I found https://discord.com/de ... here are shared servers/friends with this id I would like to implement it either with#, or by request. Thank you in advance.

Passing parameters by the GET and AJAX method

I decided to use AJAX for convenience, it is hung on links, the data for the request it takes from href, which is set as href ... alue How would you get rid of an unnecessary question mark? Can it be removed from href or should there be another solution?

Just get the get variable from the url

In the process, I fell behind the times! I can't find the connection, it seems so simple, but I can't do it - I feel like a l ... e get in url and get the value of this get... I know that isset() is checked, but isset ($_GET['']) does not give anything...

Wordpress CNC get parameter

There is a page stranicza-profilya, I output the get parameter on it site.com/stranicza-profilya/?id=field845604 Please tell ... ly in htaccess, since wp automatically creates it and there is a chance that it may be lost in the future his. Please help me

c#: example of executing a GET request

Good afternoon, I can not understand the correct execution of the GET request. There is an API from which I can easily get da ... Language: ru Content-Type: application/json } Where can I see the simplest example of a synchronous GET and POST request?

Get json, recognize Russian characters

The code below accepts json from the server and outputs it to a text window, if I write the returned content in Russian lette ... тип стринг для парсинга String json = extras.getString(JsonURL); //передаем в метод парсинга JSONURL(json); } }

I'm working with the Youtube API KEY. And I can't get the status of the code 200 in any way

But at the same time, with the same parameters, React shows the status of the code 401. Although the authorization of my account was in Google. I need help with this.

javascript get GET parameter

You need to get the value of the get parameter "data" from the url, how can this be implemented?

What method is used to send an http request in the form and without the form?

I want to understand how the GET and POST method works in an http request. 1) Do I understand correctly that by default, whe ... art of the html page is requested by the "GET" method, and the form (the "form" tag) in it is requested by the "POST" method?

keys same values different GET parameters

How do I process such a link? Https://auto.yandex.ru/offers?sort_offers=relevance-desc&mark=audi&mark=toyota&mar ... I tried it myself http://test.loc/?r=1&r=2&r=3 print_r($_GET['r'])// результат 3 And how do I get all the values?

Registration and token issuance

Hello, I have a server in php. I use my android app to access the page and get the data in json format. This json can fall in ... suance of a token. I can't find any information on this topic. Where to start? Please drop a couple of articles, thank you.

how do I send a js get request?

At best, this is a jquery option, but it doesn't matter. You need to make a request like http://api.site.ru/requestpass/{user ... p;{phone} The request is not typical for get, but there is no way to change the type of request. How can I get data via ajax?

Encoding in requests from Java

There are Tomcat 8 + servlets, IDE-Eclipse, OS-Debian 9. From the servlets, I send a GET request to the remote server (specif ... br.close(); } }catch (IOException e){ System.out.println("Ошибка"); } }

How to get the desired piece of html code (get request)

I made a GET Request so, and the output turned out to be such a wonderful HTML code: <html class=""><head> ... OkHttp, I need to take a couple of lines from the same HTML code that I need, and all the code... throw it in the trash.....

Error 405 (method not allowed) using ajax method post laravel

Hello, there is such an ajax script $.ajax({ url:'/load_content/', method: 'POST', ... t works as it should. Here's another catch on OpenServer POST it works. How do I solve the problem or find the source of it?