Error response test

From ePrize Developers Wiki

Jump to: navigation, search

API Home Page :: API Debugging

Summary

Output an error response. This can be used for testing error handling in your application.

Resource

/v1/{apikey}/test/communication

Valid Methods

PUT

Resource Arguments

Note: resource arguments are always required.

apikey: Your API Key

Parameters Required

None



Example: Communication Test (PUT), will respond with an error

Request

Request representation: empty

Response

HTTP Status Code: 404 Not Found


<?xml version="1.0" encoding="UTF-8" ?>
<error ver="1.1" status_code="404">
  <message>Unknown resource</message>
</error>


Personal tools