Skip to content

fix: correct HTTP method for interfaces overview reload_interface#878

Closed
ykd007 wants to merge 1 commit into
opnsense:masterfrom
ykd007:fix/interfaces-overview-reload-method
Closed

fix: correct HTTP method for interfaces overview reload_interface#878
ykd007 wants to merge 1 commit into
opnsense:masterfrom
ykd007:fix/interfaces-overview-reload-method

Conversation

@ykd007
Copy link
Copy Markdown

@ykd007 ykd007 commented May 13, 2026

The reload_interface command in the OverviewController API table was listed as GET, but the actual endpoint requires POST. Calling it with GET returns "failure"; POST returns "OK".

One-line fix in source/development/api/core/interfaces.rst.

Closes #875

The reload_interface endpoint in OverviewController.php is a
state-changing action and requires POST. The docs incorrectly
listed it as GET, causing a failure response when called that way.

Closes opnsense#875
@AdSchellevis
Copy link
Copy Markdown
Member

@ykd007 thanks, these are auto-collected on our end, a95e580 merges the result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Wrong API method in docs in Interfaces/Overview

2 participants