Skip to content

[Bug] POST requests to extension action don't make it, server returns 302 #7572

@dadatuputi

Description

@dadatuputi

Describe the bug

When making a POST request to my extension action, my controller / action (I'm particularly looking at firstAction) never get called. The server logs a 302 error, and my POST request is usually redirected to something like /i/?c=error&rid=681de11066610.

I was working under the assumption that FreshRSS/Minz allowed POST to extensions since it was mentioned here: https://freshrss.github.io/FreshRSS/en/developers/Minz/#working-with-get--post

I'm trying to implement an MPC Server for FreshRSS so LLMs can connect to it and get feeds / summarize, etc.

To Reproduce

  1. Make a POST request to an extension endpoint, e.g.
curl -vX POST "http://192.168.0.100/i/?c=mcp&a=comm"   -H "Content-Type: application/json"   -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "initialize",
    "params": {
      "protocolVersion": "2025-03-26",
      "clientInfo": {
        "name": "Test Client",
        "version": "1.0.0"
      }
    }
  }'

I tried throwing a post at other extensions' actions, same errors.

Expected behavior

I expect the framework to route POST requests just as it does GET requests.

FreshRSS version

1.26.2 / Docker

System information

  • Database version: whatever is on Docker freshrss/freshrss:latest
  • PHP version: 8.2.28
  • Installation type: Docker freshrss/freshrss:latest
  • Web server type: whatever is on Docker freshrss/freshrss:latest
  • Device: Windows 11
  • OS: Windows 11
  • Browser: bash curl

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions