Commit Graph

4 Commits (master)

Author SHA1 Message Date
Didier BONNEFOI d71e06fb95 ovhapilib bugfix: JSON datas must be set when PUT method is used 2018-09-25 17:54:10 +02:00
Didier BONNEFOI fd6006cd14 shellcheck pass + code review:
- more readable long curl commands (multiple lines)
- add helpers to manage string's upper/lower case
- add helper to join array items
- fix functions's variables scope
2018-06-21 15:04:32 +02:00
Didier BONNEFOI ae35740057 OvhRequestApi() enhancements
- OVHAPI_HTTP_STATUS always return a numeric value
- raise error 500 with help message if OVHAPI_HTTP_RESPONSE has many lines
- update samples scripts with OvhRequestApi()
2017-07-19 11:45:54 +02:00
Didier BONNEFOI 8377493d0a JSON functions improvements
- single execution of JSON.sh, now read result from a cache
- JSON wrapper now use AWK for best performances, even on big JSON source
- remove JSON string argument from getJSON*() functions
- move JSON functions to a standalone file
- add JSONSHLIB_DEBUG variable
- add JSONSH_DIR to override JSON.sh path
- update samples scripts
- rework file tree
- update README
- update .gitignore
2017-07-14 01:09:28 +02:00