From 77ef4c8ffca25506e1d7ec612891e0358daece77 Mon Sep 17 00:00:00 2001 From: Rutuja Kolate Date: Wed, 24 Sep 2025 19:39:13 +0530 Subject: [PATCH] Docs: Added Windows PowerShell curl command examples (#118) --- README.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.adoc b/README.adoc index c840791..84e7fac 100644 --- a/README.adoc +++ b/README.adoc @@ -306,6 +306,11 @@ If you use Windows command prompt to issue cURL commands, the following command To create a new `Employee` record, use the following command in a terminal (the `$` at the beginning signifies that what follows it is a terminal command): ---- $ curl -X POST localhost:8080/employees -H 'Content-type:application/json' -d '{"name": "Samwise Gamgee", "role": "gardener"}' + +---- +# Windows PowerShell +curl -X POST "localhost:8080/employees" -H "Content-type:application/json" -d "{`"name`": `"Samwise Gamgee`", `"role`": `"gardener`"}" + ---- Then it stores the newly created employee and sends it back to us: