Back end: Refactorised web requests.