MaMengzhen opened a new issue, #6256:
URL: https://github.com/apache/shenyu/issues/6256

   ### Is there an existing issue for this?
   
   - [x] I have searched the existing issues
   
   ### Current Behavior
   
   In the MCP_TOOL_EXAMPLES file, the argsPosition corresponding to the header 
in the request header test sample is configured as a query. When requesting the 
API interface, the header information will also be concatenated in the 
parameters.
   
   <img width="2528" height="1688" alt="Image" 
src="https://github.com/user-attachments/assets/c441f1ac-eb82-4f86-96c1-979836651e24";
 />
   
   ### Expected Behavior
   
   In the MCP_TOOL_EXAMPLES file, the argsPosition corresponding to the header 
in the request header test sample is configured as a header. When requesting 
API interfaces, the header information is not concatenated into the request 
parameters.
   
   <img width="2632" height="1692" alt="Image" 
src="https://github.com/user-attachments/assets/5a7056a0-ae53-4fc9-9c5e-a5f951b61fe9";
 />
   
   ### Steps To Reproduce
   
   1. In the MCP_TOOL_EXAMPLES file, the argsPosition corresponding to the 
header in the request header test sample is configured as a header.
   
   ### Environment
   
   ```markdown
   ShenYu version(s):2.7.1-SNAPSHOT
   ```
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to