Skip to main content

Get Request

from abstra.hooks import get_request

body, query, headers = get_request()

Function definition

def get_request() -> Tuple[Union[str, List, Dict], Dict, Dict]: 

Returns

Returns
(parsed json or string)Body parsed according to content-type header
(dict)Query parameters
(dict)Headers