Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.
This repository was archived by the owner on May 4, 2020. It is now read-only.

Elements of AI app fails to load certification status #4

Description

@m4rku55

router.post('/state/:courseid',

Is the /state/elements-of-ai endpoint working as intended? When I checked the request using developer toolbar, the body of response is empty which consequently crashes the parsing of request. The corresponding fix to client is here: https://github.com/rage/elements-of-ai-material/compare/features/course-state-fix?expand=1

Why the request is POST instead of GET if the endpoint is used for fetching the data from server? POST request should be used only when creating a new resource and when the id is not known: http://restcookbook.com/HTTP%20Methods/put-vs-post/

@tulir @mipyykko @nygrenh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions