guzzle

  1. Sim

    SparkPost Mail Transport 1.1.0

    Adds a SparkPost mail transport option to have all mails sent via your SparkPost account. Note that v1.x of this addon is not compatible with XenForo v2.2 - immediately after upgrading to XF v2.2, you must install v2.x of this addon available here...
  2. Aprilsworld

    XF 2.1 got this guzzle error are they ok or ?

    InvalidArgumentException: XenForo upgrade check failed: Unexpected result, starting '<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]--> <!--[if I' // json_decode error: Syntax error src/vendor/guzzlehttp/guzzle/src/functions.php:304...
  3. Kocal

    Fixed Can't set default headers for Guzzle when calling XF\SubContainer\Http#createClient

    Hi :) I'm facing an issue when trying to create a new Guzzle HTTP client with default headers. <?php // config.php $config['container']['my-api-client'] = function (\XF\Container $c) { return $c['http']->createClient([ 'base_uri' => 'http://example.com', 'headers' => [...
  4. Brent W

    XF 2.1 What would creating a new thread look like using the API with Guzzle?

    Trying to wrap my head around this. Making a get request is pretty simple for just a thread. Using this documentation: https://guzzle.readthedocs.io/en/latest/quickstart.html Using this within Wordpress. Working get request: <?php define("WP_USE_THEMES", false)...
  5. Cupara

    XF 2.0 Method to Replace cURL

    Ok I have this so far, I'm not sure if I need more but before I test, I wanted to make sure I have what I need. $requestLink = $region.'wow/realm/status?locale='. $locale .'&apikey=' . $options->xenwow_api_key; try { $results =...
  6. Sim

    Lack of interest Implement Guzzle v6

    Note: I'm adding this suggestion here now that the XF2 developer preview discussion forum is about to be archived. Refer to this thread: https://xf2demo.xenforo.com/threads/guzzle-version.2524/ for the original discussion. XF 2.0 implements Guzzle 5.3.1 which was released in July 2016 (Guzzle...
  7. Sim

    Unmaintained Guzzle6 for XenForo 2.0 1.3.0

    Due to PHP version constraints, XenForo 2.0 implements Guzzle 5.3 rather than the current Guzzle 6.x This XenForo 2.0 addon replaces the built in libraries with Guzzle 6.x and provides a test suite to ensure functionality is preserved. Important: the only reason you would want to install this...
Top Bottom