Agent-Banks / APIProgram

Create 2 endpoints, /mumbling and /explosion, that are based on the CodeWars Katas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SDG Assignment #13 : 04-03 - GET /practice?mode=api

Objectives

  • Create a simple API
  • Practice problem solving

Requirements

  • Create 2 endpoints, /mumbling and /explosion, that are based off of the katas,[https://www.codewars.com/kata/mumbling](https://www.codewars.com/kata/mumbling) and [https://www.codewars.com/kata/digits-explosion(https://www.codewars.com/kata/digits-explosion) respectfully.

Explorer Mode

  • Create a new webapi api project
  • Create a endpoint for the mumbling endpoint
    • Create a new Controller called MumblingController
    • This will have one HttpGet method
    • The method will accept a string either as a URL parameter or a query parameter. Your choice.
    • This endpoint method will take the string passed to it, manipulate according to the kata [https://www.codewars.com/kata/mumbling(https://www.codewars.com/kata/mumbling) and return the result
    • Have your code return the string
  • Create a endpoint for the explosion endpoint

Adventure Mode

None

Epic Mode

None

Resources

  • Use Insomnia for interacting with your API.

About

Create 2 endpoints, /mumbling and /explosion, that are based on the CodeWars Katas


Languages

Language:C# 100.0%