<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.4whats.net/sendFile?instanceid=%7B%7Binstanceid%7D%7D&token=%7B%7Btoken%7D%7D&body=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fru%2F3%2F33%2FNatureCover2001.jpg&filename=hello.xlsx&caption=%20this%20image%20for%20%4078005553535",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

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

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
<?php

$request = new HttpRequest();
$request->setUrl('https://api.4whats.net/sendFile');
$request->setMethod(HTTP_METH_GET);

$request->setQueryData(array(
  'instanceid' => '{{instanceid}}',
  'token' => '{{token}}',
  'body' => 'https://upload.wikimedia.org/wikipedia/ru/3/33/NatureCover2001.jpg',
  'filename' => 'hello.xlsx',
  'caption' => ' this image for @78005553535'
));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
var client = new RestClient("https://api.4whats.net/sendFile?instanceid=%7B%7Binstanceid%7D%7D&token=%7B%7Btoken%7D%7D&body=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fru%2F3%2F33%2FNatureCover2001.jpg&filename=hello.xlsx&caption=%20this%20image%20for%20%4078005553535");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
var unirest = require("unirest");

var req = unirest("GET", "https://api.4whats.net/sendFile");

req.query({
  "instanceid": "{{instanceid}}",
  "token": "{{token}}",
  "body": "https://upload.wikimedia.org/wikipedia/ru/3/33/NatureCover2001.jpg",
  "filename": "hello.xlsx",
  "caption": " this image for @78005553535"
});


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

  console.log(res.body);
});
var request = require("request");

var options = {
  method: 'GET',
  url: 'https://api.4whats.net/sendFile',
  qs: {
    instanceid: '{{instanceid}}',
    token: '{{token}}',
    body: 'https://upload.wikimedia.org/wikipedia/ru/3/33/NatureCover2001.jpg',
    filename: 'hello.xlsx',
    caption: ' this image for @78005553535'
  }
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
HttpResponse<String> response = Unirest.get("https://api.4whats.net/sendFile?instanceid=%7B%7Binstanceid%7D%7D&token=%7B%7Btoken%7D%7D&body=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fru%2F3%2F33%2FNatureCover2001.jpg&filename=hello.xlsx&caption=%20this%20image%20for%20%4078005553535")
  .asString();
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.4whats.net/sendFile?instanceid=%7B%7Binstanceid%7D%7D&token=%7B%7Btoken%7D%7D&body=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fru%2F3%2F33%2FNatureCover2001.jpg&filename=hello.xlsx&caption=%20this%20image%20for%20%4078005553535")
  .get()
  .build();

Response response = client.newCall(request).execute();
#import <Foundation/Foundation.h>

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"https://api.4whats.net/sendFile?instanceid=%7B%7Binstanceid%7D%7D&token=%7B%7Btoken%7D%7D&body=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fru%2F3%2F33%2FNatureCover2001.jpg&filename=hello.xlsx&caption=%20this%20image%20for%20%4078005553535"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

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];
curl --request GET \
  --url 'https://api.4whats.net/sendFile?instanceid=%7B%7Binstanceid%7D%7D&token=%7B%7Btoken%7D%7D&body=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fru%2F3%2F33%2FNatureCover2001.jpg&filename=hello.xlsx&caption=%20this%20image%20for%20%4078005553535'
import requests

url = "https://api.4whats.net/sendFile"

querystring = {"instanceid":"{{instanceid}}","token":"{{token}}","body":"https://upload.wikimedia.org/wikipedia/ru/3/33/NatureCover2001.jpg","filename":"hello.xlsx","caption":" this image for @78005553535"}

response = requests.request("GET", url, params=querystring)

print(response.text)
import http.client

conn = http.client.HTTPSConnection("api.4whats.net")

conn.request("GET", "/sendFile?instanceid=%7B%7Binstanceid%7D%7D&token=%7B%7Btoken%7D%7D&body=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fru%2F3%2F33%2FNatureCover2001.jpg&filename=hello.xlsx&caption=%20this%20image%20for%20%4078005553535")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
require 'uri'
require 'net/http'
require 'openssl'

url = URI("https://api.4whats.net/sendFile?instanceid=%7B%7Binstanceid%7D%7D&token=%7B%7Btoken%7D%7D&body=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fru%2F3%2F33%2FNatureCover2001.jpg&filename=hello.xlsx&caption=%20this%20image%20for%20%4078005553535")

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)

response = http.request(request)
puts response.read_body
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://api.4whats.net/sendFile?instanceid=%7B%7Binstanceid%7D%7D&token=%7B%7Btoken%7D%7D&body=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fru%2F3%2F33%2FNatureCover2001.jpg&filename=hello.xlsx&caption=%20this%20image%20for%20%4078005553535",
  "method": "GET",
  "headers": {}
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
fetch("https://api.4whats.net/sendFile?instanceid=%7B%7Binstanceid%7D%7D&token=%7B%7Btoken%7D%7D&body=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fru%2F3%2F33%2FNatureCover2001.jpg&filename=hello.xlsx&caption=%20this%20image%20for%20%4078005553535", {
  "method": "GET",
  "headers": {}
})
.then(response => {
  console.log(response);
})
.catch(err => {
  console.log(err);
});
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.4whats.net/sendFile?instanceid=%7B%7Binstanceid%7D%7D&token=%7B%7Btoken%7D%7D&body=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fru%2F3%2F33%2FNatureCover2001.jpg&filename=hello.xlsx&caption=%20this%20image%20for%20%4078005553535")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()