Forum Discussion
What scripting language is best with iControl Rest
Hello All,
What is the best scripting language to use with iControl Rest. I am not very familiar with cURL or C, so I am open, just wanted to know what others are using.
Thanks!
2 Replies
- Michael_Jenkins
Cirrostratus
I think it depends on what your goal is, whether it be an application, script, or website.
For scripts, I tend to use PowerShell mostly because it's quick to grab what I need and you can use the
command which will automatically bring the JSON response back as an object, making it easier to work with.Invoke-RestMethodIf you're looking at web stuff, I generally use jQuery (or similar libraries for Ajax calls).
Also, if you're just looking to test some iControlRest stuff, you could use a Chrome extension called Postman. It's pretty useful for testing REST calls.
Hope this helps.
I'll ditto Michael's comments. It depends on your platform. If you are on Windows, the PowerShell is a good choice. For non-windows systems, it depends on your skills. I'm like Node.js lately as has JSON/etc built in but you can use JSON packages in most of the other main languages out there (perl, python, etc).
If you just want to use a shell (sh, bash, etc) with curl, then the jq command line tool is pretty helpful in parsing JSON responses. http://stedolan.github.com/jq
Good luck!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com