URL format on sending the request to server, forgot /api/, FIXED