Skip to content

Commit

Permalink
Private User updated v2
Browse files Browse the repository at this point in the history
  • Loading branch information
exivity-bot committed Dec 3, 2024
1 parent 7268c19 commit 150ba5b
Showing 1 changed file with 113 additions and 4 deletions.
117 changes: 113 additions & 4 deletions proximity/v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -11362,7 +11362,8 @@
"pm.environment.set(\"extractor_name\", response.data.id);",
"console.log('SET extractor_name: ' + pm.environment.get(\"extractor_name\"));"
],
"type": "text/javascript"
"type": "text/javascript",
"packages": {}
}
},
{
Expand All @@ -11380,7 +11381,8 @@
" console.log(err);\r",
"});"
],
"type": "text/javascript"
"type": "text/javascript",
"packages": {}
}
}
],
Expand Down Expand Up @@ -11408,11 +11410,118 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"Extractor test - {{$randomInt}}\",\r\n \"contents\": \"print Hello\\nvar key1 = value1\\npublic var key2 = value2\\npublic encrypt var key3 = 0\"\r\n}"
"raw": "{\r\n \"data\": {\r\n \"type\": \"extractor\",\r\n \"attributes\": {\r\n \"name\": \"MyExtractor\",\r\n \"contents\": \"print Hello\\nvar key1 = value1\\npublic var key2 = value2\\npublic encrypt var key3 = 0\",\r\n \"variables\": \"\"\r\n }\r\n }\r\n}\r\n"
},
"url": "{{base_url}}/v2/extractors"
},
"response": []
"response": [
{
"id": "59f5c969-0752-4d2f-ac87-78b99fa7da4f",
"name": "Add a new extractor",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"data\": {\r\n \"type\": \"extractor\",\r\n \"attributes\": {\r\n \"name\": \"My_Extractor\",\r\n \"contents\": \"print Hello\\nvar key1 = value1\\npublic var key2 = value2\\npublic encrypt var key3 = 0\",\r\n \"variables\": \"\"\r\n }\r\n }\r\n}\r\n"
},
"url": "{{base_url}}/v2/extractors"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Host",
"value": "localhost:8012"
},
{
"key": "Connection",
"value": "close"
},
{
"key": "X-Powered-By",
"value": "PHP/8.3.0"
},
{
"key": "Cache-Control",
"value": "no-cache, private"
},
{
"key": "Date",
"value": "Tue, 03 Dec 2024 09:53:33 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "X-Clockwork-Id",
"value": "X0fe0690469d3457c4226a3b8c677ad84"
},
{
"key": "X-Clockwork-Version",
"value": "9"
},
{
"key": "X-Clockwork-Path",
"value": "_debugbar/clockwork/"
},
{
"key": "phpdebugbar-id",
"value": "X0fe0690469d3457c4226a3b8c677ad84"
},
{
"key": "ETag",
"value": "\"b6904e9aa51a2655df442b869e1b0689\""
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=31536000; includeSubDomains"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "Feature-Policy",
"value": "autoplay 'none'; camera 'none'"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "Content-Security-Policy",
"value": "base-uri 'self';connect-src 'self';default-src 'self';form-action 'self';img-src 'self' data:;media-src 'self';object-src 'none';script-src 'self' 'nonce-dxnmfikXhIsD6aFDR89qmEHRplLFtTfg';style-src 'self' 'nonce-dxnmfikXhIsD6aFDR89qmEHRplLFtTfg';font-src 'self' data:"
},
{
"key": "Request-Id",
"value": "a0e3e67f-bf94-41b3-a303-f098d088b102"
}
],
"cookie": [],
"responseTime": null,
"body": "{\n \"data\": {\n \"type\": \"extractor\",\n \"id\": \"My_Extractor\",\n \"attributes\": {\n \"name\": \"My_Extractor\",\n \"contents\": \"print Hello\\nvar key1 = value1\\npublic var key2 = value2\\npublic encrypted var key3 = FeBtNpkfbyD4ePKU+EXOwQ==\",\n \"variables\": [\n {\n \"name\": \"key2\",\n \"value\": \"value2\",\n \"type\": \"normal\",\n \"line\": 3,\n \"comment\": \"\"\n },\n {\n \"name\": \"key3\",\n \"value\": \"<encrypted>\",\n \"type\": \"encrypted\",\n \"line\": 4,\n \"comment\": \"\"\n }\n ],\n \"updated_at\": \"2024-12-03T09:53:33Z\"\n },\n \"links\": {\n \"self\": \"http://localhost:8012/v2/extractors/My_Extractor\"\n }\n }\n}"
}
]
},
{
"name": "Retrieve an extractor",
Expand Down

0 comments on commit 150ba5b

Please sign in to comment.