Request Forwarder (RFC-135)
A period when the community can review the RFC (comment Docs).
Document Maintainers: Andi Gabriel Tan 2024. List of other contributors in Annex. 1.
Copyright: MIT license
Copyright© 2018-2024 Axiologic Research and Contributors.
This document is licensed under MIT license.
Abstract
This RFC describes the creation of a new forward request for the authenticated client.
1. Forward Request for Authenticated Client
ForwardRequest service creates a new request from APIHub with the provided options and body. It facilitates access to different resources where access is restricted.
POST /forwardRequestForAuthenticatedClient
1.1. Body Parameters
| Name | Type | Value | Description |
|---|---|---|---|
| body | Options for new requests. |
1.1.1. Example: Application/JSON
{
"options": {
"method": "POST"
},
"body": {},
"url": "https://inner.network:8090"
}
1.2. Request Headers
| Name | Type | Value | Description |
|---|---|---|---|
| authorization | string | *required | Bearer authorization token. |
1.3. Responses
| Status Code | Description |
|---|---|
| 200 | Operation handled with success. Status code may be returned from the forwarded request’s response. |
| 400 | Bad request. The request URL was not provided. |
| 403 | Unauthorized access. |
| 500 | Error on performing the second request. |
Contributors
-
Axiologic Research: New content and improvements. Original texts under PharmaLedger Association and Novartis funding. MIT licensed content accordingly with the contracts. Publish and maintain the www.opendsu.org site.
-
PharmaLedger Project: Review, feedback, observations, new content, and corrections MIT licensed accordingly with the consortium agreements.
- PrivateSky Research Project: MIT licensed content accordingly with the contracts. https://profs.info.uaic.ro/~ads/PrivateSky/
Annex 1. Contributors
| Current Editors | |
|---|---|
| Sînică Alboaie | sinica.alboaie@axiologic.net |
| Rafael Mastaleru | rafael@rms.ro |
| Nicoleta Mihalache | nicoleta@axiologic.net |
| Contributors Axiologic Research | |
| Adrian Ganga | adrian@axiologic.net |
| Andi-Gabriel Țan | andi@axiologic.net |
| Cosmin Ursache | cosmin@axiologic.net |
| Daniel Sava | daniel@axiologic.net |
| Nicoleta Mihalache | nicoleta@axiologic.net |
| Valentin Gérard | valentin@axiologic.net |
| PharmaLedger | |
| Rafael Mastaleru | raf@rms.ro (RMS) |