Adding an API Step
In SAP Analytics Cloud, API steps integrate on-premise and cloud-based external applications using an HTTP Application Programming Interface (API).
Context
Before adding an API step, you need to create a multi action. For more information, see Create a Multi Action.
Learning Tutorial
Navigate through the interactive tutorial illustrating how to configure an HTTP API connection, create a multi action API step, and run it in step-by-step instructions (4:00 min); the tutorial is captioned exclusively in English:
Procedure
Results
Configure HTTP Headers for the Multi Action API Step
Here's information on which characters you can use in header field names in the multi action API step.
Allowed Elements in Header Field Names
Use the following characters for header field names in the multi action API step, according to the HTTP protocol.
|
Character |
Status |
|---|---|
|
0-9 |
Allowed |
|
A-Z |
Allowed |
|
a-z |
Allowed |
|
" |
Allowed |
|
! |
Allowed |
|
# |
Allowed |
|
$ |
Allowed |
|
% |
Allowed |
|
& |
Allowed |
|
' |
Allowed |
|
* |
Allowed |
|
+ |
Allowed |
|
- |
Allowed |
|
. |
Allowed |
|
^ |
Allowed |
|
_ |
Allowed |
|
` |
Allowed |
|
| |
Allowed |
|
~ |
Allowed |
Restricted Elements in Header Field Names
Don't use the following header field names because they're reserved for other purposes. You'll get an error message, "This header key isn't allowed."
|
Header |
Status |
|---|---|
|
host |
N/A |
|
method |
N/A |
|
from |
N/A |
|
cookie |
N/A |
|
origin |
N/A |
|
referer |
N/A |
|
content-length |
N/A |
|
content-location |
N/A |
|
content-md5 |
N/A |
|
content-range |
N/A |
|
date |
N/A |
|
server |
N/A |
|
via |
N/A |
|
etag |
N/A |
|
expires |
N/A |
|
warning |
N/A |
|
accept-encoding |
N/A |
|
accept-language |
N/A |
|
cache-control |
N/A |
|
dnt |
N/A |
|
pragma |
N/A |
|
priority |
N/A |
|
user-agent |
N/A |
|
traceparent |
N/A |
|
tracestate |
N/A |
|
expect |
N/A |
|
max-forwards |
N/A |
|
request-uri |
N/A |
|
vary |
N/A |
|
x-forwarded-host |
N/A |
|
connection |
N/A |
|
keep-alive |
N/A |
|
proxy-authorization |
N/A |
|
te |
N/A |
|
trailers |
N/A |
|
transfer-encoding |
N/A |
|
upgrade |
N/A |
|
authorization |
N/A |
|
accept |
N/A |
|
content-type |
N/A |

