diff --git a/esp8266.py b/esp8266.py
index d316a1c..15478a1 100644
--- a/esp8266.py
+++ b/esp8266.py
@@ -459,7 +459,7 @@ def doHttpGet(self,host,path,user_agent="RPi-Pico", port=80):
             return 0, None
             
         
-    def doHttpPost(self,host,path,user_agent="RPi-Pico",content_type,content,port=80):
+    def doHttpPost(self,host,path,content_type,content,user_agent='RPi-Pico',port=80):
         """
         This fucntion use to complete a HTTP Post operation
         
@@ -504,4 +504,4 @@ def __del__(self):
         """
         print('Destructor called, ESP8266 deleted.')
         pass
-        
\ No newline at end of file
+