Nick Cabatoff
192baa88db
Make API not depend on SDK ( #18962 )
2023-02-06 09:41:56 -05:00
Daniel Spangenberg
8dd6180e31
Fix SRV Lookups ( #8520 )
...
* Pin HTTP Host header for all client requests
* Drop port map scheme
* Add SRV Lookup environment var
* Lookup SRV records only when env var is specified
* Add docs
Co-Authored-By: Michel Vocks <michelvocks@gmail.com>
2020-03-11 14:22:58 +01:00
Jeff Mitchell
170521481d
Create sdk/ and api/ submodules ( #6583 )
2019-04-12 17:54:35 -04:00
Martin
56083f4dd9
use constant where x-vault-token was still hardcoded ( #5392 )
2018-09-25 09:34:40 -07:00
Jeff Mitchell
1d4d302bfa
Clean up request logic and use retryable's more efficient handling ( #4670 )
2018-06-01 09:12:43 -04:00
Jeff Mitchell
5bd7a41e26
Update comment around legacy bool in API
2018-05-09 20:35:51 -04:00
Jeff Mitchell
891ce7a975
Update go-retryablehttp vendor
2018-05-09 17:44:53 -04:00
Jeff Mitchell
d9fa7636ac
More syncing
2017-10-23 16:52:56 -04:00
Jeff Mitchell
7e16fffd2f
Return error on bad CORS and add Header specification to API request primitive
2017-06-19 18:20:44 -04:00
pkrolikowski
ee177d85f8
Pass user/pass for HTTP Basic Authentication in URL parameters ( #2469 )
2017-03-10 07:19:23 -05:00
Jeff Mitchell
7129fd5785
Switch to pester from go-retryablehttp to avoid swallowing 500 error messages
2016-07-11 21:37:46 +00:00
Jeff Mitchell
60df9d3461
Make the API client retry on 5xx errors.
...
This should help with transient issues. Full control over min/max delays
and number of retries (and ability to turn off) is provided in the API
and via env vars.
Fix tests.
2016-07-06 16:50:23 -04:00
Jeff Mitchell
ff4dc0b853
Add wrap support to API/CLI
2016-05-02 02:03:23 -04:00
Jeff Mitchell
f1a301922d
Remove cookie authentication.
2015-08-21 19:46:23 -07:00
Armon Dadgar
0454e1f48e
api: Allow reseting of request body
2015-04-20 10:44:51 -07:00
Mitchell Hashimoto
da6210d3c1
api: start the groundwork API stuff
2015-03-09 11:38:50 -07:00