HTTP Loggers

Operations done on HTTP Loggers


Method
get
Path
/http_loggers

Responses

Authorization

Use the "API key" from the profile page as the token

Bearer

Request

GET
/http_loggers
curl --request GET \
  --url https://app.pentest-tools.com/api/v2/http_loggers \
  --header 'accept: application/json' \
  --header 'authorization: Bearer {token}'

Method
post
Path
/http_loggers

Request parameters

Content type
application/x-www-form-urlencoded
object
Property
label
Type
string
required
Yes

A unique label for the HTTP request logger

Responses

409A logger with the same label already exists

Authorization

Use the "API key" from the profile page as the token

Bearer

Request

POST
/http_loggers
curl --request POST \
  --url https://app.pentest-tools.com/api/v2/http_loggers \
  --header 'accept: application/json' \
  --header 'authorization: Bearer {token}'

Method
get
Path
/http_loggers/{id}

Path parameters

Property
id
Type
integer
required
Yes

id of the logger

Responses

Authorization

Use the "API key" from the profile page as the token

Bearer

Request

GET
/http_loggers/{id}
curl --request GET \
  --url https://app.pentest-tools.com/api/v2/http_loggers/{id} \
  --header 'accept: application/json' \
  --header 'authorization: Bearer {token}'

Method
delete
Path
/http_loggers/{id}

Path parameters

Property
id
Type
integer
required
Yes

id of the logger

Responses

204Deleted successfully

Authorization

Use the "API key" from the profile page as the token

Bearer

Request

DELETE
/http_loggers/{id}
curl --request DELETE \
  --url https://app.pentest-tools.com/api/v2/http_loggers/{id} \
  --header 'accept: application/json' \
  --header 'authorization: Bearer {token}'

Method
get
Path
/http_loggers/{id}/data

Path parameters

Property
id
Type
integer
required
Yes

id of the logger

Responses

Authorization

Use the "API key" from the profile page as the token

Bearer

Request

GET
/http_loggers/{id}/data
curl --request GET \
  --url https://app.pentest-tools.com/api/v2/http_loggers/{id}/data \
  --header 'accept: application/json' \
  --header 'authorization: Bearer {token}'

Method
delete
Path
/http_loggers/{id}/data

Path parameters

Property
id
Type
integer
required
Yes

id of the logger

Responses

204Deleted successfully

Authorization

Use the "API key" from the profile page as the token

Bearer

Request

DELETE
/http_loggers/{id}/data
curl --request DELETE \
  --url https://app.pentest-tools.com/api/v2/http_loggers/{id}/data \
  --header 'accept: application/json' \
  --header 'authorization: Bearer {token}'