Skip to content

Commit 0b6e6df

Browse files
authored
Update main.py
1 parent 91c5c1a commit 0b6e6df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/http-get-post/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
'''
7474
Going to do HTTP Post Operation with www.httpbin.org/post
7575
'''
76-
post_json="abcdefghijklmnopqrstuvwxyz" #"{\"name\":\"Noyel\"}"
76+
post_json="{\"name\":\"Noyel\"}"
7777
httpCode, httpRes = esp01.doHttpPost("www.httpbin.org","/post","RPi-Pico", "application/json",post_json,port=80)
7878
print("------------- www.httpbin.org/post Post Operation Result -----------------------")
7979
print("HTTP Code:",httpCode)

0 commit comments

Comments
 (0)