Skip to content

Instantly share code, notes, and snippets.

@marklap
Created February 23, 2024 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marklap/3d18e30c502f6e1412fb97ab20aaca95 to your computer and use it in GitHub Desktop.
Save marklap/3d18e30c502f6e1412fb97ab20aaca95 to your computer and use it in GitHub Desktop.
{
"info": {
"_postman_id": "c4fe8106-d044-491f-9799-2ab19c0919d9",
"name": "C-Project",
"description": "C-Project example use.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Tail Log File",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"content-type": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "default"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"num_lines\": 10,\n \"path\": \"/var/log/syslog\",\n \"match_substrings\": [\n \"kernel\"\n ],\n \"case_sensitive\": true\n}"
},
"url": {
"raw": "{{base_url}}/tail",
"host": [
"{{base_url}}"
],
"path": [
"tail"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"key": "base_url",
"value": "http://localhost:8080",
"type": "default"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment