Skip to main content
AskingForHelp
New Member
January 17, 2023
Solved

Are response codes consistent

  • January 17, 2023
  • 1 reply
  • 1001 views

Hello Community

The FortiOS REST API from Fortinet Developer Network can be found referenced here. Each base URL endpoint has the various response codes (200, 400, 401, ...). Would it be correct to assume that every endpoint has exactly the same response codes and that all those response codes will always mean the same over all endpoints? 

 

Thank you for explaining.

 

 

 

Best answer by abarushka

Hello,

 

Http response codes are defined in RFC:

https://datatracker.ietf.org/doc/html/rfc9110#name-200-ok

 

Fortinet will follow RFC unless otherwise stated.

1 reply

abarushka
Staff
abarushkaAnswer
Staff
January 18, 2023

Hello,

 

Http response codes are defined in RFC:

https://datatracker.ietf.org/doc/html/rfc9110#name-200-ok

 

Fortinet will follow RFC unless otherwise stated.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!