|
Author |
Message |
t121anf |
This post is not being displayed .
|
t121anf World Chat Champion
Joined: 23 Feb 2007 Karma :
|
Posted: 17:22 - 26 Apr 2022 Post subject: APIs |
|
|
At my work we are changing software, where I can currently write perl scripts to do stuff I now need to work with APIs.
I can use the likes of Postman to GET and PUT data but I need to be able to script this to work in batches, and work with files containing data to add via a PUT command after retrieving the record using GET, looping through the file.
Can anyone suggest an easy way to do this, general google'ing has directed me towards Python but I didn't know if it was possible to use Javascript or something else.
Thoughts? (other than get a new job ) |
|
Back to top |
|
You must be logged in to rate posts |
|
|
Easy-X |
This post is not being displayed .
|
Easy-X Super Spammer
Joined: 08 Mar 2019 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
P. |
This post is not being displayed .
|
P. Red Rocket
Joined: 14 Feb 2008 Karma :
|
Posted: 19:17 - 26 Apr 2022 Post subject: |
|
|
Python is probably the best way to work with them.
I'm currently relearning stuff and using more automation tools, Python is alright for that, but Ansible is more what I need. Python is what most people use for generic API stuff like that.
Depends on your API though, I'm working with one right now which is just basic calls and pushes over HTTPS and I literally cba to script that |
|
Back to top |
|
You must be logged in to rate posts |
|
|
t121anf |
This post is not being displayed .
|
t121anf World Chat Champion
Joined: 23 Feb 2007 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Easy-X |
This post is not being displayed .
|
Easy-X Super Spammer
Joined: 08 Mar 2019 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
P. |
This post is not being displayed .
|
P. Red Rocket
Joined: 14 Feb 2008 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Old Thread Alert!
The last post was made 1 year, 355 days ago. Instead of replying here, would creating a new thread be more useful? |
|
|
|