Revised API to use the new URL and methods (mock)