Trying to send data to local server on my PC from arduino via Yun Shield

Hie All

Im new to Arduino programming. I have Arduino Uno and Iduino Yun Shield. I want to be able send data from the Arduino to my local server on my PC via wifi using the Yun Shield. Im using phpMyAdmin to create the database tables. My challenge is that i cant modify the examples in the bridge library to connect to my local server. The Yun Shield is connecting to the same network that is connected to my pc. How can i be able to send data using yun shield to my local server or which libraries can i use to establish arduino + yun shield as a client to my local server on my PC?

Here is the code im trying to use to register a user from arduino into my server:

#include <Bridge.h>
#include <YunServer.h>
#include <YunClient.h>

char server[] = "192.168.43.67"; // IP address of my pc with the server

void setup() {
// Bridge startup
Bridge.begin();
delay(2000);

}

void loop()
{

YunClient client;

if (client.connect(server, 80)) {

client.print( "GET http://192.168.43.67/dbregister/insertUser.php?username=frank&password=fff"); //trying to send details into my table users to register a user

client.println( " HTTP/1.1");
client.println( "Host: 192.168.43.67" );
client.print(" Host: ");
client.println(server);
client.println( "Connection: close" );
client.println();
client.println();
client.stop();
}
}

Thank you in advance for your responses

client.print( "GET http://192.168.43.67/dbregister/insertUser.php?username=frank&password=fff");

A GET request is sent using http protocol. The http:// part is NOT part of the GET request.

A GET request is sent to the server you are connected to. The 192.168.43.67 part is NOT part of the GET request.

Once you send a GET request, you should read the server response. Not doing so will keep that connection open.

You might even be presented with a clue-by-four.