# How to provide input from keyboard to script. Input can be service name or application

**URL:** <https://discuss.elastic.co/t/how-to-provide-input-from-keyboard-to-script-input-can-be-service-name-or-application/358046>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [April 23, 2024, 4:13pm UTC](https://discuss.elastic.co/t/how-to-provide-input-from-keyboard-to-script-input-can-be-service-name-or-application/358046 "2024-04-23T16:13:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Quentin\_Pradet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/quentin_pradet/32/94192_2.png) [@Quentin\_Pradet](https://discuss.elastic.co/u/Quentin_Pradet)\
**Post date:** [April 24, 2024, 5:47am UTC](https://discuss.elastic.co/t/how-to-provide-input-from-keyboard-to-script-input-can-be-service-name-or-application/358046/4 "2024-04-24T05:47:38Z")

</div>

Hello! In addition to what David mentioned, here are other tips to make sure we can help you effectively:

- Use triple backticks to format your Python code: [Select the programming language used in code blocks - users - Discourse Meta](https://meta.discourse.org/t/select-the-programming-language-used-in-code-blocks/19247). I have edited your code to do that
- Please post code that is, to the best of your knowledge, correct, or at least starts running, before asking about higher-level Elasticsearch questions. Walk before you run.

I was about to give specific advice around quotes, but I just noticed that @jessgarson replied to [Test Rest API through python - #14 by jessgarson](https://discuss.elastic.co/t/test-rest-api-through-python/357531/14) with much more details than I would have. Please don't post duplicate questions like this. And let's focus on the other thread now.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-provide-input-from-keyboard-to-script-input-can-be-service-name-or-application/358046)._
