How to build Snowflake Cortex Agents using dbt and Cortex Code
Computers have been doing work for humans for decades. The fundamental loop has always been the same: a person has a …
Flatten JSON is a simple REST API which takes a JSON object as input and parses into a key/value string. Here the key will have the full path for the field separated by .(dot). API is built on AWS with Lambda Function(Python), API Gateway, Custom Domain Mapping.
Create lambda function with the code for required logic. Test and make sure the lambda is working fine.
Click on Add trigger, select API Gateway and select create new API option as given below. Make sure to test the API using the right method before heading to next step.
To add custom domain api endppoint, create a certificate for the domain from ACM
Attach the custom domain to API gateway using the certificate by navigating to API Gateway > Custom domain names > Create
Navigate to Custom domain names and click on API mappings to map the API with a URL path of your preference.
| URL | https://api.entechlog.com/flatten-json/ |
| Method | POST |
| Content-Type | application/json |
Sample Input
Sample output
Computers have been doing work for humans for decades. The fundamental loop has always been the same: a person has a …
As data platforms grow, one of the most expensive patterns is duplicating raw data across multiple storage engines. If …