From dc8dcc85d117c2c8ad5ff422733b9e125b0e1909 Mon Sep 17 00:00:00 2001 From: yetone Date: Thu, 15 Oct 2026 19:59:11 +0800 Subject: [PATCH] provider: a custom Balance URL can be asked with POST, for an endpoint that answers only a POST (#2368, yaofeng) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A custom provider's Balance URL was always asked with GET, so a balance endpoint that takes only a POST answered 405 and the card never showed. - Provider.BalanceMethod ("" or GET, or POST with no body). It applies to the user's own Balance URL only; a vendor magpie knows is asked as before. balanceMethodOf refuses any other value before anything is sent. - CLI: `magpie provider set balance.method=POST` (GET clears it; any other value is refused and the saved one kept); `magpie provider ` shows "from POST ". - GUI: a GET/POST segmented control (segs, not a