3 ms·
Sometimes I've got a service that won't send plain JSON but rather some data in query parameters and some in http headers. So it's rather for integration with o
by hdhzy 10y ago
Sometimes I've got a service that won't send plain JSON but rather some data in query parameters and some in http headers. So it's rather for integration with others. AWS API Gateway makes it possible to build the input JSON out of any of (body, headers, query params) just before the lambda function is invoked. Note that they are using Velocity templates so it doesn't really look good but if you need this data it gets the job done.
- alexellisuk 10y agoThat makes sense, do you have any examples? The input doesn't have to be JSON btw.