Skip to content

Tutorial example tries to POST to .json file #3391

@mikefrancis

Description

@mikefrancis

Just had a go at the tutorial (which is great btw) and got right to the end and realised that the handleCommentSubmit() method in CommentBox tries to POST the form data to the same comments.json file.

I understand that in the real-world this would be sent to some sort of RESTful service but newcomers might wonder why it's not working.

I realise I could have a go at editing the tutorial but figured it might be better coming from the people who wrote it?

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