Create API using runtime

Avatar

Avatar

AlexisCazes

MVP

Avatar

AlexisCazes

MVP

AlexisCazes
MVP

15-01-2020

i read the following documentation that explain how to create an API: https://www.adobe.io/apis/experienceplatform/runtime/docs.html#!adobedocs/adobeio-runtime/master/gui...

 

Is there a more detailed step by step example like this one https://opensource.adobe.com/faast-path-to-beautiful-apps/

 

To be able to use the API we need to make sure the response contains the headers 

Access-Control-Allow-Origin

I have seen in the documentation: https://www.adobe.io/apis/experienceplatform/runtime/docs.html#!adobedocs/adobeio-runtime/master/gui...

You can also set cookies or cache control headers, perform a HTTP redirect, and so forth.

Any example on how to do this ? 

View Entire Topic

Avatar

Avatar

Mihai_Corlan

Employee

Avatar

Mihai_Corlan

Employee

Mihai_Corlan
Employee

13-04-2020

Alexis,

 

We added a new section to cover the CORS - https://github.com/AdobeDocs/adobeio-runtime/blob/master/guides/creating_rest_apis.md#enable-cors-on...

 

cheers,

Mihai