Ask a question to get started
Enter to sendā¢Shift+Enter new line
Make a request to the Pebblo API
make_request( method: str, url: str, headers: dict, payload: Optional[dict] = None, timeout: int = 20 ) -> Optional[Response]
method
str
HTTP method (GET, POST, PUT, DELETE, etc.).
url
URL for the request.
headers
dict
Headers for the request.
payload
Optional[dict]
None
Payload for the request (for POST, PUT, etc.).
timeout
int
20
Timeout for the request in seconds.