Skip to Content (Press Enter)
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Home
Jobs
Ideas
Members
Mentorship
User Groups
Tools
Tools
ODC
O11
Platforms
OutSystems.com
Personal Edition
Community
Resources
Support
Search in OutSystems
Log in
Get Started
Community
›
Forge
›
Assets list
›
LocalRest
LocalRest
Stable version
1.0.1
(Compatible with
OutSystems 11
)
Uploaded
on
23 Nov (14 hours ago)
by
0.0
(0 ratings)
Overview
Reviews
Versions
Documentation
Support
LocalRest
Documentation
1.0.1
Draft
Select
Authentication: Custom
to add
OnAuthentication
to your exposed API and add the call to
ValidateRequest
:
Add
OnBeforeRequest
to your consumer API, following the example in the demo API module, passing/setting the BaseURL and Headers:
In the consumer API call, add a
Header
parameter called
RestModule
- this will appear to be unused, but it is passed to the
OnBeforeRequest
event handler:
Then in the calls to this method, set this
parameter to the module name that you wish to consume e.g. "LocalRestDemo_API", without any prefix or suffix (these are added automatically):
If you get a 403 error, then it is probably due to http://localhost requests not being allowed, so set the
Hostname
property to your domain, e.g.
yourname.outsystemscloud.com
(without the https://)
1.0.0
Draft
Select
Authentication: Custom
to add
OnAuthentication
to your exposed API and add the call to
ValidateRequest
:
Add
OnBeforeRequest
to your consumer API, following the example in the demo API module, passing/setting the BaseURL and Headers:
In the consumer API call, add a
Header
parameter called
RestModule
- this will appear to be unused, but it is passed to the
OnBeforeRequest
event handler:
Then in the calls to this method, set this
parameter to the module name that you wish to consume e.g. "LocalRestDemo_API", without any prefix or suffix (these are added automatically):
If you get a 403 error, then it is probably due to http://localhost requests not being allowed, so set the
Hostname
property to your domain, e.g.
yourname.outsystemscloud.com
(without the https://)
Loading
Loading...