Building API test pages with WordPress

[ad_1]

Hi all,

Is it possible to build API test/example pages like this one using WordPress: [https://petstore.swagger.io/#/])

So basically, I will need the user to authenticate, and then pass his details, so he can test API methods and see responses in a raw format.

Or should I pick some other solution like Apigee instead of building a custom solution on WordPress?

Thank you!

[ad_2]
1 Comment
  1. Yes it can be done. I can expand on that answer but it would require knowledge of Javascript and the Rest Api.. I assume since you want to do something like this that you would know how to code that.

    You could make a custom post type so that the actual tests do mess up the rest of your site with test pages that get created.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer