Skip to content

Calonyction/cool-request

 
 

Repository files navigation

Cool Request

Docusaurus

This plugin is used for debugging HTTP interfaces and schedulers in IntelliJ IDEA.

中文

Documentation

Documentation Github If the official website cannot be accessed, please try GitHub hosting.

Screenshots

  1. Api

    img.png

  2. Request

    img.png

  3. Static Server

img.png

Usage Steps:

  1. Go to Setting->Plugins, search for Cool Request, and click install.

img.png

Features

  • ✓️ Collect and display all Controller information defined in Spring Boot, supporting HTTP/reflection calls.
  • ✓ Collect and display timers defined in Spring Boot; you can manually trigger them without waiting for a specified time.
  • ✓ Optionally bypass interceptors during the request.
  • ✓ Optionally specify proxy/original objects during the request.
  • ✓ One-click export to OpenAPI format.
  • ✓ One-click import to Apifox.
  • ✓ Copy requests as curl commands.
  • ✓ Compatible with Gradle, Maven multi-module projects.
  • ✓ Compatible with Java/Kotlin languages.
  • ✓ Powerful HTTP request parameter guessing feature to reduce the time developers spend on key entry.
  • ✓ Write scripts for pre/post request using Java syntax.
  • ✓ Save response results to a file.
  • ✓ Quickly preview JSON, XML, images, HTML, and text responses.
  • ✓ Multiple layout switching options.
  • ✓ Automatically discover Spring Gateway paths.
  • ✓ Multi-environment configuration.

Update history

  1. 2024.3.1

  2. 2024.2.20

Issues

  1. What are proxy objects and original objects?

    Answer: This plugin does not call the Controller through HTTP requests but uses reflection internally. Therefore, when obtaining an object, the object may be CGLIB proxied, but you can choose the original object. However, some AOP may be disabled in this process.

  2. What are interceptors?

    If your project has an interceptor that matches the Controller, when selecting to apply the interceptor, it will be called first if it matches the Controller. If no interceptor is selected, even if the interceptor matches the Controller, it will not be called. This is one of the original intentions of this plugin, which is used to debug Controllers without authentication.

Build Original Code

./gradlew buildPlugin
2. Open Plugin Setting
3. Install Plugin For Disk
4. Select ./build/distributions/cool-request-plugin.zip

Star History

Star History Chart

About

IDEA中快速调试接口、定时器插件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.1%
  • Kotlin 0.9%