<reponame>shash431/REST_API_Test_Framework_Python
import requests
import json 
    
def test_post_json_param():
    url = 'https://httpbin.org/post'
    payload = {'key1': 1, 'key2': 'value2'}
    resp = requests.post(url, json=payload)  
    print(resp.text)
import requests
import json 
    
def test_post_json_param():
    url = 'https://httpbin.org/post'
    payload = {'key1': 1, 'key2': 'value2'}
    resp = requests.post(url, json=payload)  
    print(resp.text)