3👍
✅
As pointed by @Paulo Almeida :
I was using a wrong url. The URL that I should be using is self.live_server_url
. Since I was using http://localhost:8000/register/
It was expecting server to be running and creating records there.
Thanks.
Source:stackexchange.com