Skip to content

Category: Tenon

The no-CURL way to submit a request to Tenon API

A few months ago, I posted Tutorial: Creating a PHP class to use with Tenon.io. Someone asked me “What about servers that don’t have CURL? Here you go. Use the class in that post, but swap out the submit() function for this: function submit(){ $content = http\_build\_query($this->opts); $options = array( ‘http’ => array( ‘method’ => …

Tutorial: Creating a PHP class to use with Tenon.io

Introduction Just wanna get the code? All of the code for this tutorial is available at an open repository on BitBucket Tenon.io is an API that facilitates quick and easy JavaScript-aware accessibility testing. The API accepts a large number of request parameters that allow you to customize how Tenon does its testing and returns its …