curl --request POST \
  --url https://thumbsup-malware-scanner-v1.p.mashape.com/malware_scans \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --header 'x-mashape-key: <required>' \
  --data '{"files":["https://muut.com","https://muut.com","https://assets.muut.com/MuutOverview_v5-800x.mp4?","https://assets.muut.com/MuutOverviw_v5-800x.mp4?"]}'
var unirest = require("unirest");

var req = unirest("POST", "https://thumbsup-malware-scanner-v1.p.mashape.com/malware_scans");

req.headers({
  "accept": "application/json",
  "content-type": "application/json",
  "x-mashape-key": "<required>"
});

req.type("json");
req.send({
  "files": [
    "https://muut.com",
    "https://muut.com",
    "https://assets.muut.com/MuutOverview_v5-800x.mp4?",
    "https://assets.muut.com/MuutOverviw_v5-800x.mp4?"
  ]
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
HttpResponse<String> response = Unirest.post("https://thumbsup-malware-scanner-v1.p.mashape.com/malware_scans")
  .header("x-mashape-key", "<required>")
  .header("content-type", "application/json")
  .header("accept", "application/json")
  .body("{\"files\":[\"https://muut.com\",\"https://muut.com\",\"https://assets.muut.com/MuutOverview_v5-800x.mp4?\",\"https://assets.muut.com/MuutOverviw_v5-800x.mp4?\"]}")
  .asString();
import requests

url = "https://thumbsup-malware-scanner-v1.p.mashape.com/malware_scans"

payload = "{\"files\":[\"https://muut.com\",\"https://muut.com\",\"https://assets.muut.com/MuutOverview_v5-800x.mp4?\",\"https://assets.muut.com/MuutOverviw_v5-800x.mp4?\"]}"
headers = {
    'x-mashape-key': "<required>",
    'content-type': "application/json",
    'accept': "application/json"
    }

response = requests.request("POST", url, data=payload, headers=headers)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://thumbsup-malware-scanner-v1.p.mashape.com/malware_scans",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => "{\"files\":[\"https://muut.com\",\"https://muut.com\",\"https://assets.muut.com/MuutOverview_v5-800x.mp4?\",\"https://assets.muut.com/MuutOverviw_v5-800x.mp4?\"]}",
  CURLOPT_HTTPHEADER => array(
    "accept: application/json",
    "content-type: application/json",
    "x-mashape-key: <required>"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
require 'uri'
require 'net/http'

url = URI("https://thumbsup-malware-scanner-v1.p.mashape.com/malware_scans")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE

request = Net::HTTP::Post.new(url)
request["x-mashape-key"] = '<required>'
request["content-type"] = 'application/json'
request["accept"] = 'application/json'
request.body = "{\"files\":[\"https://muut.com\",\"https://muut.com\",\"https://assets.muut.com/MuutOverview_v5-800x.mp4?\",\"https://assets.muut.com/MuutOverviw_v5-800x.mp4?\"]}"

response = http.request(request)
puts response.read_body
#import <Foundation/Foundation.h>

NSDictionary *headers = @{ @"x-mashape-key": @"<required>",
                           @"content-type": @"application/json",
                           @"accept": @"application/json" };
NSDictionary *parameters = @{ @"files": @[ @"https://muut.com", @"https://muut.com", @"https://assets.muut.com/MuutOverview_v5-800x.mp4?", @"https://assets.muut.com/MuutOverviw_v5-800x.mp4?" ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"https://thumbsup-malware-scanner-v1.p.mashape.com/malware_scans"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://thumbsup-malware-scanner-v1.p.mashape.com/malware_scans"

	payload := strings.NewReader("{\"files\":[\"https://muut.com\",\"https://muut.com\",\"https://assets.muut.com/MuutOverview_v5-800x.mp4?\",\"https://assets.muut.com/MuutOverviw_v5-800x.mp4?\"]}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-mashape-key", "<required>")
	req.Header.Add("content-type", "application/json")
	req.Header.Add("accept", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}