1👍
✅
Django request module does not have any .get method for API response you should use the python requests module like this
step -1
pip install requests
step – 2
import requests
def SigninView(request):
p=requests.get('https://jsonplaceholder.typicode.com/todos/1')
print(p.json())
return render(request,'index.html',)
for more info visit this link
https://www.geeksforgeeks.org/response-json-python-requests/
Source:stackexchange.com