dynamic-cli icon indicating copy to clipboard operation
dynamic-cli copied to clipboard

Implement PUT in dynamic to post the response from an API

Open GouravSardana opened this issue 3 years ago • 10 comments

This feature will include the following things -

  1. Once a user will enter dynamic -PUT, it will ask for a URL to put and the default URL would be 127.0.0.1:8000 and it will ask for the endpoint or you can put it directly in the URL itself
  2. It will ask for headers then it will ask for payloads
  3. Optional param - User-Agent
  4. It will build on top of CURL.
  5. The output will get in JSON with proper syntax highlighter.

Example -

  • dynamic -PUT
  • Enter the URL with endpoint - [press enter - default would be 127.0.0.1:800]
  • Headers - Enter headers
  • User Agent [Optional]
  • Codes => 200 (OK) or 204 (No Content). 404 (Not Found), if ID not found or invalid. Posting (loading emoji)

{
json output
}

GouravSardana avatar Apr 17 '21 08:04 GouravSardana

Hi @GouravSardana can I take up this issue?

guptaaastha avatar Apr 17 '21 09:04 guptaaastha

Sure @guptaaastha . Please Go ahead

GouravSardana avatar Apr 17 '21 10:04 GouravSardana

@GouravSardana The CLI does not support windows OS and therefore will not be able to take up this issue at the moment. Please un-assign me. I'll also raise an issue on the repository for the same.

guptaaastha avatar May 19 '21 11:05 guptaaastha

@GouravSardana The CLI does not support Windows OS and therefore will not be able to take up this issue at the moment. Please un-assign me. I'll also raise an issue on the repository for the same.

Yes @guptaaastha, the cli is not supporting windows right now due to the termios package used in the application. Some modules used are not yet implemented for windows. We are searching for a way to solve this issue. All contributions are appreciated.

lainq avatar May 19 '21 12:05 lainq

Hi @pranavbaburaj Thanks for your reply. I did raise an issue in context to termios; will surely keep contributing to this amazing CLI 😄

guptaaastha avatar May 19 '21 12:05 guptaaastha

Thanks a lot, @guptaaastha 🙂

lainq avatar May 19 '21 12:05 lainq

@pranavbaburaj can i work on this

subhangi2731 avatar May 21 '21 17:05 subhangi2731

@GouravSardana please assign this issue to me

subhangi2731 avatar May 24 '21 12:05 subhangi2731

@pranavbaburaj can I work on this

Yeah, you can. But, the question is how 😐 ?

lainq avatar May 24 '21 13:05 lainq

is this issue open?

Abhinavcode13 avatar May 21 '23 20:05 Abhinavcode13