Ben Greear
db4a5b7728
json: Add methods to wait for cx, endp to be found.
...
This lets scripts wait until we are sure the system can handle
further work.
Ensure we print out error in case the URL processing logic
detects and error and plans to exit.
2020-08-05 15:25:22 -07:00
Jed Reynolds
730ad7ecdf
LFRequest.py: adds plain_get()
2020-07-31 17:44:23 -07:00
Jed Reynolds
1ed694a155
LFRequest.py: improves self.die_on_error logic to absolutely die on conditions that are !404
2020-07-29 22:20:25 -07:00
Jed Reynolds
b9bcba58b0
JSON: simplifies die_on_error logic
2020-07-28 23:42:42 -07:00
Jed Reynolds
89b8dd7aef
LFRequest.py: updates debug line refs
2020-06-30 15:34:05 -07:00
Jed Reynolds
ebf6737edb
JSON: replace show_error with debug
2020-06-29 23:21:06 -07:00
Jed Reynolds
67ad3fa412
LFRequest.py: introduces return parameter for fetching resulting JSON data
2020-06-29 19:38:02 -07:00
Jed Reynolds
131880366f
Json: fixes debugging and die_on_error logic
2020-06-25 12:32:28 -07:00
Jed Reynolds
0e0c8444ca
LFRequest.py: fixes single-arg LFRequest() call
2020-06-09 13:09:42 -07:00
Jed Reynolds
83304a1c30
LFRequest.py: enabling more debugging
2020-06-05 15:13:01 -07:00
Jed Reynolds
a9d69aa681
LFRequest.py fixes check
2020-06-05 14:45:41 -07:00
Logan Lipke
4445c0f696
Moved leading/trailing slash check to prevent NoneType Errors
2020-06-05 14:14:26 -07:00
Logan Lipke
55a7ff3116
Moved leading/trailing slash check to prevent NoneType Errors
2020-06-05 14:03:58 -07:00
Logan Lipke
bc6499e213
Added check for valid url format for LFRequest init
2020-06-05 13:07:06 -07:00
Jed Reynolds
29c6c7c7b8
LFRequest.py: tidies up lint errors like redundant parens
2020-06-01 21:45:47 -07:00
Jed Reynolds
72a2af3e5c
LFRequest.py: quiets logging on 404 error, fixes renamed ref
2020-05-26 17:11:03 -07:00
Jed Reynolds
49adca8eba
corrects locations found in comments
2020-04-10 15:26:03 -07:00
Jed Reynolds
ab4c7fd120
LFRequest: uses decode(utf-8) to be compatible with python3.5
2020-04-10 12:20:47 -07:00
Logan Lipke
f189fe5f13
LFRequest: updates get() error expression
2020-04-10 11:43:53 -07:00
Jed Reynolds
7f6b5d5e1e
LFRequest updated to show HTTPMessage errors via headers
2020-04-09 14:43:58 -07:00
Jed Reynolds
8a8211fdad
Json: improves error output for requests
2019-12-31 12:57:55 -08:00
Jed Reynolds
82df554e75
py-json: makes LFRequest.post_data singular, improves error output
2019-10-30 18:22:38 -07:00
Jed Reynolds
57878e0412
py-json: simplifies get request and error output, examples work better
2019-10-30 16:16:03 -07:00
Jed Reynolds
9da3b1379d
py-json: working example of creating and destroying stations
2019-10-29 16:09:56 -07:00
Jed Reynolds
18351b93fe
progress on LFRequest examples, distinguishing between cli-form and cli-json submission
2019-10-28 17:40:33 -07:00
Jed Reynolds
a252b641a3
py-json: updates, tests for port existance
2019-10-28 11:26:33 -07:00
Jed Reynolds
af606e9bb8
begins python examples exercising json api
2019-10-27 23:21:22 -07:00