Skip to content

第3回課題 2020/03/26 #12

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

第3回課題 2020/03/26 #12

wants to merge 6 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 30, 2020

  • Do not merge
  • レビュー不要です

ykdr8 added 6 commits March 30, 2020 16:35
squareHandlerでnumが100以上の場合はバリデーションエラーとして、400エラーを返してください。
incrementHandlerでPOST以外のMethodの場合に、405エラーを返してください。
自分で1つAPIを追加してください。(何でも良いです)
クエリパラメータから2つの値を取得して、加算したものを返す API を追加した。
squareHandlerでnumが100以上の場合はバリデーションエラーとして、400エラーを返してください。
自分で1つAPIを追加してください。(何でも良いです)
クエリパラメータから2つの値を取得して、加算したものを返す API を追加した。
incrementHandlerで以下のJSONの形式でCounterの値を返してください。

```
{"counter": 9}
```
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.

1 participant