call Web api from mono in arduino using ubuntu

hey guys I have tried to call an web api which I developed before on mono as asp.net
I want to call it in arduino IDE
I see this code

byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
char server[] = "www.google.com"; // name address for Google (using DNS)
IPAddress ip(192,168,0,177);
EthernetClient client;
void setup()
{
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only }
if (Ethernet.begin(mac) == 0) {
Serial.println("Failed to configure Ethernet using DHCP");
Ethernet.begin(mac, ip); }
delay(1000);
Serial.println("connecting...");
if (client.connect(server, 80)) {
Serial.println("connected");
client.println("GET /search?q=arduino HTTP/1.1");
client.println("Host: www.google.com");
client.println("Connection: close");
client.println(); }
else {
Serial.println("connection failed"); }
}
void loop()
{
if (client.available()) {
char c = client.read();
Serial.print(c); }
if (!client.connected()) {
Serial.println();
Serial.println("disconnecting.");
client.stop();
// do nothing forevermore:
while(true);
}
}
I know that this code to call google api which search about arduino word
but I need to call my own :o
my web api designed as post method also it receive an structure and output list of structure

please help
I am very new in arduino world :frowning: :cry:

I am very new in arduino world

So? Your problem is not an Arduino problem. Your problem is about how to formulate a POST request. Well, here's a hint. It's done EXACTLY like you'd do it on a PC.