Service Board > Max for Developers > Max Groovy APIs > HTTP API > HttpRequest (DEPRECATED)
HttpRequest (DEPRECATED)
You can use the APIs defined in this utility class to execute HTTP requests.
com.intalio.utils.HttpRequest
* 
This API is deprecated for Max releases 22.1 and later (April 10, 2022).
To remove and replace deprecated HttpRequest code:
1. Add external sites to the Remote Sites Whitelist setting, for example:
zincapi: https://api.zincit.io
2. Replace the following:
Syntax
Deprecated Code
Replacement Code
Class import
import com.intalio.utils.HttpRequest
import com.servicemax.core.utils.HttpRequestHelper
Method calls
HttpRequest.<method>
HttpRequestHelper.<method>
For more information:
Was this helpful?