ForgeBox:HTTP-Response-Codes

<< Back to ForgeBox API Documentation

HTTP Status Codes

The ForgeBox API returns appropriate HTTP status codes for every request.

  • 200 OK: Success!
  • 400 Bad Request: The request was invalid. An accompanying error message will explain why.
  • 403 Forbidden: The request is understood, but it has been refused. An accompanying error message will explain why.
  • 404 Not Found: The URI requested is invalid or the resource requested does not exist
  • 500 Internal Server Error: Something crashed, oops!

Error Messages

When the ForgeBox API returns error messages, it does so in the returned structure as we saw in our API documenation page. A sample is shown below:

XML Example:

<forgebox>
  <error>true</error>
  <messages>Invalid Return Format</messages>
  <data />
</forgebox>

<< Back to ForgeBox API Documentation

 
Download in other Formats:
markup Markup | pdf PDF | html HTML | word Word

comments Comments (0)


ColdBox Book

book