HTTP Client
Overview
This service allows you to make HTTP requests to external third party websites.
Note that you must configure (declare) the external service via the Cloud Code - Web Services page of the brainCloud portal first.
info
General – a default accept header is now added to all calls to improve overall compatibility. This new behaviour is disabled by the new compatibility flag – which is enabled by default for existing apps: [x] Do not add default response media type accept header for responses (can interfere with request signatures if apps are not aware)
API Summary
Get
- GetResponseJson() - Retrieves a Json document.
- GetResponseText() - Retrieves a Text document.
Post
- PostJsonResponseJson() - Posts a JSON document, expects a Json response.
- PostJsonResponseText() - Posts a JSON document, expects a text response.
- PostJsonOffboard() - Posts a JSON document in the background, without waiting for a response.
- PostFormResponseJson() - Posts a Form encoded document, expects a Json response.
- PostMultipartResponseJson() - Posts a Form encoded document, expects a Json response.
- PostFormResponseText() - Posts a Form encoded document, expects a Text response.
- PostTextResponseText() - Posts a text document, expects a Text response.
- PostTextResponseJson() - Posts a text document, expects a Json response.
Put
- PutJsonResponseJson() - Puts a JSON document, expects a Json response.
- PutTextResponseText() - Puts a text document, expects a Text response.
Patch
- PatchJsonResponseJson() - Patches a JSON document, expects a Json response.
- PatchTextResponseText() - Patches a text document, expects a Text response.
Delete
- DeleteJsonResponseJson() - Deletes a document, passes a Json body, expects a Json response.
- Delete() - Deletes a document., expects a Text response.
Other
- ParseRequest() - Makes a request to Parse Rest API.
- HeadRequest() - Executes a HEAD request.
📄️ Delete
Overview
📄️ DeleteJsonResponseJson
Overview
📄️ GetResponseJson
Overview
📄️ GetResponseText
Overview
📄️ HeadRequest
Overview
📄️ ParseRequest
Overview
📄️ PatchJsonResponseJson
Overview
📄️ PatchTextResponseText
Overview
📄️ PostFormResponseJson
Overview
📄️ PostFormResponseText
Overview
📄️ PostJsonOffboard
Overview
📄️ PostJsonResponseJson
Overview
📄️ PostJsonResponseText
Overview
📄️ PostMultipartResponseJson
Overview
📄️ PostTextResponseJson
Overview
📄️ PostTextResponseText
Overview
📄️ PutJsonResponseJson
Overview
📄️ PutTextResponseText
Overview