I am trying to scrape a website by using API. While I am trying to get a list of all categories response lists, the list gave me results as str. But I need to convert it to requests.models.Response type.
For example: if I write the below response by hand, it works but when I get a list of all categories from the list, it returns to me as a string.
response = requests.get('https://www.asos.com/api/product/search/v2/categories/28233', params=params, cookies=cookies, headers=headers)