apache / apache/hertzbeat

[BUG] When using HTTP get requests, the params configuration parameters cannot interface properly

Open
#1,056 2 comments 1 reaction 1 assignee Claimed by @l646505418 View on GitHub
bug good first issue help wanted
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

1.When using HTTP get requests, the params configuration parameters cannot interface properly
2.The data obtained by the interface is the same as without passing parameters
3.After investigation, I found that I was using the time format yyyy mm dd hh: mm: ss, which contains spaces. The parameter was already escaped when saving the incoming interface, resulting in the parameter being used in the hertzbeat backend to dock with the escaped data in the interface. Therefore, the parameter is incorrect
![image](https://github.com/dromara/hertzbeat/assets/30828520/0226679a-fdc3-4974-a1c7-c1cd145571f3)

### Expected Behavior

When using parameter docking, the desired interface data can be obtained normally

### Steps To Reproduce

_No response_

### Environment

```markdown
HertzBeat version(s):1.3.1
```

### Debug logs

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.