your recipe card header background

    requests post

    0

    17

    Python public recipes

    Library: requests

    Shortcut: requests.post.json

    import requests
    
    # data = {'key': 'value'}
    r = requests.post(url, data=json.dumps(data), headers=headers = {'Content-type': 'application/json'})
    if(r.status_code == 200):
      # success
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.