Skip to content

Commit c4dbf8d

Browse files
SMillerDevSean Molenaar
authored andcommitted
Adding cURL command generation
1 parent 94fa25c commit c4dbf8d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/PHPDraft/HTML/default.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ class="panel panel-default <?= $transition->get_method(); ?>">
127127
<span class="base-url"><?= $this->base_data['HOST']; ?></span>
128128
<em><?= $transition->build_url(); ?></em>
129129
<?php endif; ?>
130+
<em><?= $transition->get_curl_command($this->base_data['HOST']); ?></em>
130131

131132

132133

src/PHPDraft/Model/HTTPRequest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class HTTPRequest
3737
public function __construct(&$parent)
3838
{
3939
$this->parent = &$parent;
40-
//TODO: Parse body
4140
}
4241

4342
public function parse($object)

0 commit comments

Comments
 (0)