Skip to content

feat: count the number of words in a user's comment#4

Open
spb-superstruct wants to merge 1 commit intomasterfrom
feat/comment-count
Open

feat: count the number of words in a user's comment#4
spb-superstruct wants to merge 1 commit intomasterfrom
feat/comment-count

Conversation

@spb-superstruct
Copy link
Copy Markdown
Contributor

issue #3

This PR introduces an endpoint that takes a POST request with a comment in the body. It returns an object with the key "count" and the number of words that appears in this text as the value.

@superstruct-bot
Copy link
Copy Markdown
Contributor

You have to link your PR to the issue by adding closes #X
If you link the issue in any other way it won't be automatically closed when the PR is merged.

}
jsonist.post(`${urlBase}/repetitive-word`, data, (err, body) => {
if (err) t.error(err)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change doesn’t relate to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants