Code Monkey home page Code Monkey logo

json-rest-api-force-ssl's Introduction

JSON REST API Force SSL

Banner Force WP JSON REST API endpoints to always be served over HTTPS.

Contributors: fjarrett
Tags: api, json, REST, rest-api, ssl, https, security
Requires at least: 3.9
Tested up to: 4.1
Stable tag: trunk (master)
License: GPLv2 or later

Build Status

Description

Did you find this plugin helpful? Please consider leaving a 5-star review.

Note: This plugin requires the JSON REST API (WP API) plugin.

For site owners who want the WP API served over SSL always and forever.

All HTTP requests to the JSON REST API will be 301 redirected to their HTTPS equivalent.

If for some reason you don't want to use a plugin to do this, you can also just add this hook to your theme: https://gist.github.com/fjarrett/8cd04bd33e49bbd6e3b7

Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.

Changelog

0.1.1 - December 30, 2014

  • Ensure safe local redirects by using wp_safe_redirect() instead of wp_redirect()

Props johnjamesjacoby

0.1.0 - December 30, 2014

  • Initial release

Props fjarrett

json-rest-api-force-ssl's People

Watchers

 avatar James Cloos avatar Blueprint Marketing avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.