What language does IntelliJ's HTTP client's scripts use?

已回答

What language does IntelliJ's HTTP client use? I thought it's some sort of JavaScript, but then discovered that strings here don't have `Includes()`
```http

GET http://localhost:8080/api/v1/hello-world
Authorization: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkb25hbGRfZCIsInJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJpYXQiOjE1MTYyMzkwMjJ9.DFVsneBfFOpClS3kwHL58RpPzW06vQxmn0krlQd_IZc

> {%
    client.test("GET /api/v1/hello-world: valid token", function() {
        client.assert(response.status === 200, "Response status is not 200");
        client.test(response.body.includes())
    });
%}
```

0

Hi Nad - it's JavaScript. 

The issue is a known one, unfortunately: https://youtrack.jetbrains.com/issue/IDEA-325751. You are welcome to vote it up.

I updated its status to include information about the problem still reproducing in the latest versions of the IDE.

Hopefully, it will be fixed soon.

1

请先登录再写评论。