IndianOpenSourceFoundation / dynamic-cli

A Modern, user-friendly command-line HTTP client for the API testing, and if you're stuck - Search and browse StackOverflow without leaving the CLI
https://pypi.org/project/dynamic-cli/
GNU General Public License v3.0
169 stars 120 forks source link

Test Cases - Write Unit test for our POST API feature #160

Closed GouravSardana closed 2 years ago

GouravSardana commented 2 years ago

As a developer, I want to write a unit test for POST API feature in our CLI. This should be a python test. Make a new folder named "TEST" and make a file according to your test name

adityasangave commented 2 years ago

Hi @GouravSardana I would like to work on this one

GouravSardana commented 2 years ago

Go ahead and work on it. I’m assigning it to you

adityasangave commented 2 years ago

Hello @GouravSardana can you tell how to specify json data in terminal. I am trying to write cases for both options I wrote a test case for second one but having input issues with second Screenshot from 2022-03-15 13-12-58

GouravSardana commented 2 years ago

@adii21-Ux for the first one you need to pass the json in a single line just like curl