Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
AskingForHelp
New Contributor III

Are response codes consistent

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.

 

 

 

1 Solution
abarushka
Staff
Staff

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.

FortiGate

View solution in original post

1 REPLY 1
abarushka
Staff
Staff

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.

FortiGate
Labels
Top Kudoed Authors