async fn post_json_until_result<T: DeserializeOwned>(
endpoint: &str,
body: Value,
rest: &RestClient,
timing: &Timing,
) -> Result<T, OnePasswordError>Expand description
POSTs until the endpoint answers a body instead of the empty 200 it sends while the enrolled device has not replied yet. The web frontend retries the same way.