↗️api
A library for working with HTTP Clients and APIs.
What is requests?
Two Ways to Use it
Syntax
Usage
CRUD
GET
POST
DELETE
PATCH
PUT
Last updated
A library for working with HTTP Clients and APIs.
Last updated
def test_(api)
---or--- # just import it
# recommended
import requestsdef test_api_fixture(api):
response = api.get(f"{BASE_URL}/api/cards")import requests
response = requests.get(f"{BASE_URL}/api/cards")requests.get()requests.post()requests.delete()requests.patch()requests.put()