Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] The sandbox API test target method is not POST #5851

Open
1 task done
ISKonst opened this issue Dec 17, 2024 · 0 comments
Open
1 task done

[BUG] The sandbox API test target method is not POST #5851

ISKonst opened this issue Dec 17, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@ISKonst
Copy link
Contributor

ISKonst commented Dec 17, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I perform API debugging through the admin management interface (menu [Documentation/API Documentation/API Debugging]), my target API method is GET, and the response format is JSON. However, the sandbox actually sends the request as POST, resulting in an API exception.

Expected Behavior

No response

Steps To Reproduce

  1. Access the API Documentation menu.
  2. Select a GET method API request.
  3. Click "Send Request" under the API Debugging tab.

Environment

ShenYu version(s): 2.7.0-SNAPSHOT

Debug logs

No response

Anything else?

No response

@ISKonst ISKonst added the type: bug Something isn't working label Dec 17, 2024
@ISKonst ISKonst changed the title [BUG] <The sandbox API test target method is not POST.> [BUG] The sandbox API test target method is not POST Dec 19, 2024
yu199195 added a commit that referenced this issue Dec 26, 2024
…T, and the response format is JSON. The API returns an exception. (#5852)

* fix admin: The error occurs when testing the sandbox API, and the target method is not a POST request.

* fix admin: Applied Checkstyle to HttpUtils file

---------

Co-authored-by: aias00 <liuhongyu@apache.org>
Co-authored-by: xiaoyu <xiaoyu@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant