cursor api call must be post