mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-29 18:02:35 +00:00
updates to DUT testing scripts
This commit is contained in:
@@ -74,6 +74,7 @@ sub json_request {
|
||||
sub json_post {
|
||||
my ($uri, $rh_data) = @_;
|
||||
my $url = xpand($uri);
|
||||
print STDERR "URI $uri\n";
|
||||
my $req = HTTP::Request->new("POST" => $url);
|
||||
$req->header('Accept' => 'application/json');
|
||||
$req->header('Content-Type' => 'application/json; charset=UTF-8');
|
||||
|
||||
Reference in New Issue
Block a user