Send Docs Feedback

Note: Most user interface tasks can be performed in Edge Classic or the New Edge experience. For an overview, getting started topics, and release notes specific to the New Edge experience, see the docs.

Mock Target API

Apigee provides a mock target RESTful API. Use the API in your own API-building experiments.

In Edge, you could specify one of these endpoints, passing an API key for security, with HTTPTargetConnection element code such as the folowing:

<TargetEndpoint name="default">
      <Property name="retain.queryparams">apikey</Property>

For more about target endpoints, see Endpoint properties reference. For information about API keys, see API keys.

The following table lists the endpoints in the mock target API.

Task Method Resource
Get help GET
View personalized greeting GET
View personalized greeting GET
View API affirmation GET
View IP address GET
View XML response GET
View JSON response GET
View request headers and body GET
Send request and view request headers and body POST
View status code and message GET{code}
Validate access using basic authentication GET

The documentation was built using SmartDocs by importing the OpenAPI specification available in GitHub at: For more information about using SmartDocs, see Using SmartDocs to document APIs.


Help or comments?