Search…
The API System
API Testing is fundamentally intended to reveal bugs in a single application. If not, the user can mess things up. This is one of the most challenging parts of QA Testing to assure that your application runs smoothly and properly across devices and browsers. Here is our API system which is a manual test to walk through to test theme functionality and how the theme responds to the content and settings.
To use the Traveler Rest API plugin, you need to install the JWT Authentication for WP REST API plugin
Notice:
1-To enable this option you’ll need to edit your .htaccess file adding the follow:
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);
post
https://domain.com/
wp-json/jwt-auth/v1/token
Login
post
https://domain.com/
wp-json/wp/v2/users/me
Information user
get
https://domain.com/
wp-json/traveler/services/tours
List Service of Tours
get
https://domain.com/
wp-json/traveler/services/hotel
List Service of Hotel
get
https://domain.com/
wp-json/traveler/services/activity
List Service of Activity
get
https://domain.com/
wp-json/traveler/services/rental
List Service of Rental
get
https://domain.com/
wp-json/traveler/services/cars
List Service of Car
get
https://domain.com/
wp-json/traveler/services/tours/{id}
Tour details
get
https://domain.com/
wp-json/traveler/services/activity/{id}
Activity details
get
https://domain.com/
wp-json/traveler/services/hotel/{id}
Hotel details
get
https://domain.com/
wp-json/traveler/services/rental/{id}
Rental details
get
https://domain.com/
wp-json/traveler/services/cars/{id}
Car details
post
https://domain.com/
wp-json/traveler/tour-add-to-cart
Tour add to cart
post
https://domain.com/
wp-json/traveler/hotel-add-to-cart
Hotel add to cart
post
https://domain.com
/wp-json/traveler/rental-add-to-cart
Rental add to cart
post
https://domain.com/
wp-json/traveler/cars-add-to-cart
Car add to cart
post
https://domain.com/
wp-json/traveler/cars-add-to-cart
Acitivity add to cart
post
https://domain.com/
wp-json/traveler/checkout
Checkout
get
https://domain.com/
/wp-json/traveler/order/list-all
Order list all
get
https://domain.com/
/wp-json/traveler/order/{order-id}
Order detail
Copy link
On this page
post
Login
post
Information user
get
List Service of Tours
get
List Service of Hotel
get
List Service of Activity
get
List Service of Rental
get
List Service of Car
get
Tour details
get
Activity details
get
Hotel details
get
Rental details
get
Car details
post
Tour add to cart
post
Hotel add to cart
post
Rental add to cart
post
Car add to cart
post
Acitivity add to cart
post
Checkout
get
Order list all
get
Order detail