Skip to content

Commit

Permalink
add postman search in request
Browse files Browse the repository at this point in the history
  • Loading branch information
madneal committed Feb 3, 2024
1 parent ef697e8 commit 639b60a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/search/postman/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (client *Client) SearchAPI(rule string) (*[]PostmanRes, error) {
var err error
for {
body := fmt.Sprintf(`{"service":"search","method":"POST","path":"/search-all",
"body":{"queryIndices":["runtime.collection"],"queryText":"%s","size":100,"from": %d, "mergeEntities":true}}`,
"body":{"queryIndices":["runtime.collection","runtime.request"],"queryText":"%s","size":100,"from": %d, "mergeEntities":true}}`,
rule, page)
res, err := client.client.Post(postmanUrl, "application/json", bytes.NewBufferString(body))
if err != nil {
Expand Down

0 comments on commit 639b60a

Please sign in to comment.