Mockbin is a hosted service for creating custom endpoint for testing HTTP requests. The service generates an endpoint based on your specified criteria then allows any online service to hit that endpoint and receive a pre-defined response.
A new “bin” can be created without an account or login which makes setup quick and easy. Each new bin can be created with custom response codes, headers, cookies, and body.
Endpoints are easy to use (and easy to share) with the provided URL generated by the creation process. Once created a response preview is provided along with implementation examples in multiple programming languages.
Each endpoint, or bin, also retains a history, listing each request with the request method, size, and requesting IP Address as well as the specific request details.
When troubleshooting issues on a WordPress site, it is common to enable
WP_DEBUG mode to get a closer look at errors as they happen. However, displaying errors to the screen is not always possible when working with public, heavily trafficked websites.
The ability to quickly build pages is an important feature of a Content Management system. While WordPress provides an easy and familiar way to add content to the web, the standard post editor does not provide a means of structuring the content within the page. The Content editor does offer HTML options for formatting, but nothing in the way of layout.
When developing and application or a plugin locally, one setback that I have encountered is the inability to simply send emails from within a virtual machine. On a live site, the host normally offers a service for sending emails from you domain. There are two workarounds that I have found for testing email in a development environment:
While building the refreshable lists feature of the Ninja Forms THREE newsletter action, I wanted to provide some visual feedback while awaiting the response from the server with the new list content. I’m normally the PHP developer at the office, with James as the CSS developer, so I reached out to him to add the CSS for a spinning dashicon.
The WP-CLI (a command line interface for WordPress) gives developers and system administrators easy access to a multitude of WordPress operations. This includes installing, activating, and deactivating plugins, as well as downloading, configuring, and installing WordPress itself. The functionality even extends to WordPress multisite tools.
A command line tool makes common tasks scriptable which opens new doors for developers web based services.