curl --request GET \
  --url https://thumbsup-malware-scanner-v1.p.mashape.com/malware_scans/%7Bscanid%7D \
  --header 'accept: application/json' \
  --header 'x-mashape-key: <required>'
var unirest = require("unirest");

var req = unirest("GET", "https://thumbsup-malware-scanner-v1.p.mashape.com/malware_scans/%7Bscanid%7D");

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


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

  console.log(res.body);
});
HttpResponse<String> response = Unirest.get("https://thumbsup-malware-scanner-v1.p.mashape.com/malware_scans/%7Bscanid%7D")
  .header("x-mashape-key", "<required>")
  .header("accept", "application/json")
  .asString();
import requests

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

headers = {
    'x-mashape-key': "<required>",
    'accept': "application/json"
    }

response = requests.request("GET", url, 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/%7Bscanid%7D",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "accept: 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/%7Bscanid%7D")

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

request = Net::HTTP::Get.new(url)
request["x-mashape-key"] = '<required>'
request["accept"] = 'application/json'

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

NSDictionary *headers = @{ @"x-mashape-key": @"<required>",
                           @"accept": @"application/json" };

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

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"
	"net/http"
	"io/ioutil"
)

func main() {

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

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-mashape-key", "<required>")
	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))

}