Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error with ESP8266.doHttpPost() #1

Open
jckantor opened this issue Oct 22, 2021 · 2 comments
Open

Syntax error with ESP8266.doHttpPost() #1

jckantor opened this issue Oct 22, 2021 · 2 comments

Comments

@jckantor
Copy link

The user_agent argument has a default value when subsequent arguments have no defaults. This gives a syntax error ...

Traceback (most recent call last):
File "", line 2, in
File "esp8266.py", line 462, in ESP8266
SyntaxError: non-default argument follows default argument

@Alalanderson
Copy link

I am having this issue as well. any fix?

@hhhhpaaa
Copy link

I am having this issue as well. any fix?

def doHttpPost(self,host,path,content_type,content,user_agent='RPi-Pico',port=80):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants