This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add intelij http-client configuration file
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
POST {{baseUrl}}/api/audit-logs | ||
Content-Type: application/json | ||
|
||
{"targetUserId": "2", "userId": "3", "action": "ANONYMIZATION", "occurredAt": "2023-08-04T08:57:54.836Z", "role": "SUPPORT", "client": "PIX_ADMIN"} | ||
|
||
> {% | ||
client.test('Creates an audit log and returns a response with an HTTP status code 201 (CREATED)', function () { | ||
client.assert(response.status === 201, `Server responded with HTTP status code ${response.status}`) | ||
}); | ||
%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"development": { | ||
"baseUrl": "http://localhost:3000" | ||
} | ||
} |