NEW VERSION 3.0.5 – Traveler REST API Plugin

Rest API Plugin

What's new in Traveler 3.0.5

We’ve updated the Traveler REST API Plugin to the new version 3.0.5 of the Traveler Booking WordPress Theme and fixed a few bugs. This plugin gives you access to our theme and lets you test it to see how it works with your content and settings. You can build your interactive site, and improve your mobile app with our plugin.

In this article, we will show you how to set up Traveler Rest API Plugin step-by-step

Step 1: Install JWT Authentication for WP REST API Plugin

JWT Authentication for WP REST API

To use Traveler Rest API Plugin, you should install  JWT Authentication for WP Rest API first and config it. 

Notice:
1. To enable this option you’ll need to edit your .htaccess file by adding the following:
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
2. To add the secret key edit your wp-config.php file and add a new constant called JWT_AUTH_SECRET_KEY
define('JWT_AUTH_SECRET_KEY', 'your-top-secret-key');
define('JWT_AUTH_CORS_ENABLE', true);

Step 2: Install Traveler Rest API Plugin

Rest API
  • Go to Theme Settings> Extensions> Traveler Rest API Plugin and activate it.
  • On the Theme Settings> Other Features> Traveler Rest API, enter your secret key

Step 3: Using Postman app for API Testing

Postman

Let’s sign up on the Postman app and start sending your first request. And here is our API system, where you can test your theme’s functionality to make sure it works well. 

Leave a Reply

$79