Help!!! Pushbullet coding not working on Arduino UNO Wifi

I wish to send push notification from Arduino UNO Wifi to my smartphone via PushingBox and PushBullet. I took reference from ESP8266 code and included some libraries to suit UNO Wifi. However, when running the program, it seems unable to pushing server. But I have double-checked the server to be “api.pushingbox.com”. Can anyone tell me what’s wrong with my code please??? :confused:

Attached is my codes and the result from Serial Monitor.

No.
Post code, not pictures of code.
Use code tags.

Here is the code. Please help…

pushbullet_17Feb_withoutconnecttowifi.ino (1.51 KB)

If you can't follow simple requests/instructions, you may be beyond help

Please find my code here

#include <WiFi.h>
#include <WiFiClient.h>
#include <WiFiServer.h>
#include <WiFiUdp.h>
#include <Wire.h>
#include <UnoWiFiDevEd.h>

/************
GeeksTips.com
- replace the dots with your Wi-fi credentials and
- your deviceId from pushingBox account
*/
 
// PushingBox scenario DeviceId code and API
String deviceId = "v527D9904E79C77C";
const char* logServer = "api.pushingbox.com";
 
const char* ssid = "gloriachu";
const char* password = "0001984085235";
 
void setup() {
  Serial.begin(9600);
  // Sending a notification to your mobile phone
  // function takes the message as a parameter
  sendNotification("Hi from UNO Wifi!");
}
 
void sendNotification(String message){
 
  Serial.println("- starting client");
  
  WiFiClient client;
 
  Serial.println("- connecting to pushing server: " + String(logServer));
  if (client.connect(logServer, 80)) {
    Serial.println("- succesfully connected");
    
    String postStr = "devid=";
    postStr += String(deviceId);
    postStr += "&message_parameter=";
    postStr += String(message);
    postStr += "\r\n\r\n";
    
    Serial.println("- sending data...");
    
    client.print("POST /pushingbox HTTP/1.1\n");
    client.print("Host: api.pushingbox.com\n");
    client.print("Connection: close\n");
    client.print("Content-Type: application/x-www-form-urlencoded\n");
    client.print("Content-Length: ");
    client.print(postStr.length());
    client.print("\n\n");
    client.print(postStr);
  }
  client.stop();
  Serial.println("- stopping the client");
}
 
void loop() {}
  Serial.println("- connecting to pushing server: " + String(logServer));

There is NO excuse for wrapping a string in a String, just so you can use one Serial.print() statement, instead of two. Quit pissing away resources uselessly.

Something happened when you ran that code. Only YOU can see that,