28 lines
756 B
PHP
Executable File
28 lines
756 B
PHP
Executable File
<?php
|
|
|
|
// Define the response headers
|
|
$headers = [];
|
|
|
|
// Define the response body
|
|
$body = [
|
|
'about' => 'Pipedream is the fastest way to connect APIs. Build and run workflows with code-level control when you need it — and no code when you don\'t.',
|
|
'event_id' => $_GET['event_id'],
|
|
'workflow_id' => $_GET['workflow_id'],
|
|
'owner_id' => $_GET['owner_id'],
|
|
'deployment_id' => $_GET['deployment_id'],
|
|
'timestamp' => $_GET['timestamp'],
|
|
'inspect' => 'https://pipedream.com/@/' . $_GET['workflow_id'],
|
|
'quickstart' => 'https://pipedream.com/quickstart/',
|
|
];
|
|
|
|
// Send the response
|
|
http_response_code(200);
|
|
|
|
foreach ($headers as $key => $value) {
|
|
header("$key: $value");
|
|
}
|
|
|
|
echo json_encode($body);
|
|
echo json_decode($body);
|
|
|
|
?>
|