Quick Start
Demo Environment You can experience what is described here in the demo environment at demo.apinizer.com. If you haven't created one yet, sign up to create a user for yourself in the demo environment.
Creating an API Proxy
Step 1: Log In
- Go to demo.apinizer.com and log in.
- Select the Project created for you in the popup window that appears.
Step 2: Go to API Proxy Creation Page
- Select Development → API Proxies from the main menu on the left.
- Click the +Create button in the upper right of the opened interface.
Step 3: Load API Definition File
- In the new API Proxy creation interface, click the Enter URL link for Swagger 2.x.
- In the interface that appears, type the address
https://petstore.swagger.io/v2/swagger.jsonin the URL text box and click the Parse button on the right. - The Swagger file at the given address is parsed and the API's information is displayed.
Step 4: Save the API Proxy
- In the interface that appears, check the
https://petstore.swagger.io/v2box in the Address section, write/petstoreProxyin the Relative Path field, and click the save button in the upper right.
The petstoreProxy address added as Relative Path is the virtual access point given for accessing the API through Apinizer.
That's how easy it is! The API Proxy creation is complete.
Deploying the API Proxy
When an API Proxy is created, several tabs appear in the interface. The behavior of the API Proxy is customized through configurations made from these tabs. The API Proxy must be deployed to be accessible.
Step 1: Go to Develop Tab
- Go to the Develop tab.
- In the Develop tab, the API Proxy's endpoints appear on the left, policies and flow in the middle. Various links or buttons open interfaces related to configurations.
Step 2: Start Deploy Process
- The Deploy button is located in the upper middle. Click it. Active environment options (1 Prod in demo environment) appear, select the appropriate one. An optional deployment reason entry window appears, filling it is not mandatory. Continue by pressing the Deploy button.
The API Proxy is deployed and ready for access.
Accessing the API Proxy
When the API Proxy is deployed, the access address appears in the interface. The API Proxy is now an API for clients (API Consumers) who want to access it and is accessible from this address.
There are many methods to send a request to an API. In this example, the interface provided by the platform will be used for simplicity.