Using HTML GET (Arduino is the AP...)

I am unable to understand GET method at all . Is it possible to provide the Sketch for the following web form ? (Like just store the whole URL in a string..)

<html><body>
<form  name='frm'  method='get'>
<input type='text' name='x'   >
<input type='submit' value='Submit'>   </form>

   
</body></html>

And the basic sketch is :

#include <ESP8266WiFi.h>
#include <WiFiClient.h> 
#include <ESP8266WebServer.h>
#include <ESP8266HTTPClient.h>

/* Set these to your desired credentials. */
const char *ssid = "thenetwork";
const char *password = "password";

ESP8266WebServer server(80);
WiFiClient client;

/* Go to http://192.168.4.1 in a web browser
 * connected to this access point to see it.
 */

void webpage() {
  server.send(300, "text/html", "<html><body><form  name='frm'  method='get'><input type='text' name='x'   ><input type='submit' value='Submit'>   </form></body></html>");
}


void setup() {
  Serial.begin(9600);
  Serial.println();
  Serial.println("Configuring access point...");
  Serial.println();
  WiFi.softAP(ssid, password);

  IPAddress myIP = WiFi.softAPIP();
  Serial.println("AP IP address: ");
  Serial.println(myIP);
  server.on("/", webpage());
  server.begin();
  Serial.println();
  Serial.println("HTTP server started");
  
}

void loop() {
  server.handleClient();
  String url=""; // I want this string to store the url .. ie "/x=" part...
}