Nick Cabatoff
53afd2627b
Make API not depend on SDK ( #18962 )
2023-02-06 09:41:56 -05:00
Daniel Spangenberg
8007845ba4
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
8bcb533a1b
Create sdk/ and api/ submodules ( #6583 )
2019-04-12 17:54:35 -04:00
Martin
79ab601cdb
use constant where x-vault-token was still hardcoded ( #5392 )
2018-09-25 09:34:40 -07:00
Jeff Mitchell
c7981e6417
Clean up request logic and use retryable's more efficient handling ( #4670 )
2018-06-01 09:12:43 -04:00
Jeff Mitchell
a287830985
Update comment around legacy bool in API
2018-05-09 20:35:51 -04:00
Jeff Mitchell
7f886b5675
Update go-retryablehttp vendor
2018-05-09 17:44:53 -04:00
Jeff Mitchell
8e271dcbdc
More syncing
2017-10-23 16:52:56 -04:00
Jeff Mitchell
5817a8a5f8
Return error on bad CORS and add Header specification to API request primitive
2017-06-19 18:20:44 -04:00
pkrolikowski
0fb75d9e89
Pass user/pass for HTTP Basic Authentication in URL parameters ( #2469 )
2017-03-10 07:19:23 -05:00
Jeff Mitchell
57cdb58374
Switch to pester from go-retryablehttp to avoid swallowing 500 error messages
2016-07-11 21:37:46 +00:00
Jeff Mitchell
7023eafc67
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
1ffd5653c6
Add wrap support to API/CLI
2016-05-02 02:03:23 -04:00
Jeff Mitchell
a8ef0e8a80
Remove cookie authentication.
2015-08-21 19:46:23 -07:00
Armon Dadgar
57f3ceac14
api: Allow reseting of request body
2015-04-20 10:44:51 -07:00
Mitchell Hashimoto
8ec69eae81
api: start the groundwork API stuff
2015-03-09 11:38:50 -07:00