Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix - could not build url #16

Closed
wants to merge 1 commit into from
Closed

fix - could not build url #16

wants to merge 1 commit into from

Conversation

srianbury
Copy link

Could not build url for endpoint 'task' with values ['description', 'done', 'id', 'title']. Did you mean 'tasks' instead?

Changed task to tasks for uri in task_fields to build uri.

`Could not build url for endpoint 'task' with values ['description', 'done', 'id', 'title']. Did you mean 'tasks' instead?`

Changed `task` to `tasks` for `uri` in `task_fields` to build uri.
@miguelgrinberg
Copy link
Owner

The endpoint is called task in singular, see https://github.com/miguelgrinberg/REST-tutorial/blob/master/rest-server-v2.py#L114.

@srianbury
Copy link
Author

Was playing with the tutorial before implementing TaskAPI. Closing issue.

@srianbury srianbury closed this Sep 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants