**Edit: The issue is that when I use `var_dump()`, it's null.**

Sorry if I do this wrong, I'm new here. What I know:

* The API works with normal cURL (`curl -H "Authorization: [token]" -d "src=google" -d "dest=https://google.com"`)
* `$src`, `$dest`, and `$auth` are set (and correctly).
* When entering an invalid `$auth`, the API returns a 401 (Unauthorized Request), along with all failed requests.
* The API is my own (also built in PHP).

```
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://coles.life/api/long/create/");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: '.$auth));
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(
    array(
        "src"   => $src,
        "dest"  => $dest
    )
));

$out = curl_exec($ch);
curl_close($ch);

$res = json_decode($out, true);

```