smrrazavian/APIs

CLI input in API?

Closed this issue · 2 comments

That is very weird API App.
I remember you should write an endpoint that gives two numbers, but you write a code that gives two numbers from CLI!
Please rewrite your code.

Hi,
Thank you
is it ok now?

Unfortunately no,
As I said before, your web service should has two input parameters. But you define two hardcode variables!