/api/login requires json request file.