How to use enc28j60 to POST data to a local network server.

:cold_sweat:
My english is not good.Ha ha,don't laugh me...

I don't know how to use enc28j60 to POST data to a local network server(IP address like 192.168.1.104).

Just like use computer browse "http://192.168.1.104/index.aspx?tem=35&hum=65".....

I want to send some sensor data to server.And I learned some of enc28j60,but also don't know how to use 'BrowseUrl' function to upload data.

Thank you so much...

Is anyone can give me a advice? Thank you so much....

Just like use computer browse "http://192.168.1.104/index.aspx?tem=35&hum=65".....

That looks to me like the browser is generating a GET request, not a POST request. You probably should, too.

The problem is…My code can’t connect local network server.
Here is code…

#include <EtherCard.h>

static byte mymac[] = {0xDD,0xDD,0xDD,0x00,0x00,0x01};
char website[] PROGMEM = "192.168.1.104:80";

byte Ethernet::buffer[700];
static uint32_t timer;

static void response_callback (byte status, word off, word len) {
  
  Serial.print((const char*) Ethernet::buffer + off );
} 
 
void setup () {
 
  Serial.begin(57600);
  Serial.println("Client Demo");
  Serial.println();
 
  if (!ether.begin(sizeof Ethernet::buffer, mymac, 10))
    Serial.println( "Failed to access Ethernet controller");
 else
   Serial.println("Ethernet controller initialized");
 Serial.println();
 
  if (!ether.dhcpSetup())
    Serial.println("Failed to get configuration from DHCP");
  else
    Serial.println("DHCP configuration done");
 
  ether.printIp("IP Address:\t", ether.myip);
  ether.printIp("Netmask:\t", ether.mymask);
  ether.printIp("Gateway:\t", ether.gwip);
  Serial.println();
  
  ether.hisip[0] = 192; 
  ether.hisip[1] = 168; 
  ether.hisip[2] = 1; 
  ether.hisip[3] = 104;
  ether.hisport = 80; 
  ether.printIp("SRV IP:\t", ether.hisip);
  Serial.println();
}
 
void loop() {
 
  ether.packetLoop(ether.packetReceive());
  
  if (millis() > timer) {
    timer = millis() + 5000;
    ether.browseUrl(PSTR("/"), "", website, response_callback);
  }
}