...
This commit is contained in:
parent
82b45abd44
commit
3d4cf76987
2 changed files with 11 additions and 1 deletions
|
|
@ -0,0 +1,10 @@
|
|||
```python
|
||||
import requests
|
||||
|
||||
url = 'https://www.w3schools.com/python/demopage.php'
|
||||
myobj = {'somekey': 'somevalue'}
|
||||
|
||||
x = requests.post(url, json = myobj)
|
||||
|
||||
print(x.text)
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue