- Log in to API Publisher Web interface (https://localhost:9443/publisher), and go to Add API page. Create a new API with following information.
- Name: PhoneVerification
- Context: /phoneverify
- Version: 1.0.0
- Choose to create a wildcard resource (/*)
- Endpoint type: HTTP
- Production Endpoint: http://ws.cdyne.com/phoneverify/phoneverify.asmx
- Tier availability: Bronze/Gold/Silver/Unlimited
- Transports: HTTP/HTTPS
Specify None as the Auth Type of OPTIONSFor
In the Manage screen, you can specify an authentication type for the methods of the resource that you created earlier.
For each of the resource that has HTTP verbs requiring Authentication (i.e., Auth Type is not NONE),
Auth type. For example, as the following screen shot shows, resources with /* URL Pattern has HTTP verbs with Auth Type
Application & Application User. Therefore, we must
as the Auth Type
of OPTIONS. This is to support CORS (Cross Origin Resource Sharing) between the API Store and Gateway. But, if no authentication is needed for any of the HTTP verbs, you don't have to
Publish the API to the API Store.