FortiDDoS provides a Representational State Transfer (REST) API that other software or systems can use to interact with FortiDDoS components over HTTP, the same protocol that your web browser uses to interact with web pages.
The REST API uses similar HTTP methods:
Add data by POSTing a URL
Fetch data by GETing a URL
Update data by PUTing a URL
Delete data by DELETEing a URL
After FortiDDoS receives the request, FortiDDoS returns an HTTP response code. These codes are also discussed in this reference.