Skip to main content
AskingForHelp
New Member
Jan 17, 2023 3:29 PM UTC
Solved

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.

 

 

 

abarushka
abarushkaAnswer
Staff
Jan 18, 2023 9:37 AM UTC

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
Jan 18, 2023 9:37 AM UTC

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. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT