Use kong cli from powershell

I am trying to create service and routes from the powershell. But unable to get the result. I habe installed kong portal cli using this command:
“npm install -g kong-portal-cli”
I am usign this to create services:
curl -i -X POST http://localhost:8001/services/ -d name=testservicecli -d url=http://holtestbapp01.ls1test.local/Jet2.Holidays.RateCodeManagement.Api/BoardType
BUt it looks powershel does not recognise this command. Anyone tried creating service from powershel.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ