Comments (4)
Using postman, try this:
(settings: raw, application/json)
- or -
You could make a template for x-www-form-urlencoded and keep your actual settings.
from serverless-offline.
@dherault can not get value in handler got undefined
from serverless-offline.
try
"application/json": {
"test": "$input.path('$.test')"
}
or
"application/json": {
"test": "$input.json('$').test"
}
from serverless-offline.
"application/json": {
"test": "$input.path('$.test')"
}
this one is working,thanks
from serverless-offline.
Related Issues (20)
- How to clear cache on cognito HOT 1
- x-api-key no longer being provided HOT 4
- Lambci docker images are deprecated and no more maintained. HOT 1
- contentHandling
- MaxListenersExceededWarning with esbuild
- Expired image for lambci/lambda:go1.x HOT 3
- Sponsors inquiry
- Node 20 support? HOT 3
- serverless offline with angular cli application
- NODE_PRESERVE_SYMLINKS option?
- free(): invalid next size (fast), Segmentation Faults (SIGSEGV) and other native Node.js crashes HOT 4
- Purpose of env.AUTHORIZER
- Disable lambda print to console
- Clarity on `identitySource` and `authorization` header in authorizers
- Support lambda direct requests over HTTPS
- Profile X requires multi-factor authentication, but no MFA code callback was provided
- Only top method is used in alb event with multiple methods
- env variables not passed into serverless-offline while debugging with visual studio
- CONVERT_TO_TEXT parameter does not convert binary data of the request to base64
- Lambda functions decode event.payload as utf8 strings for requests with Content-type application/octet-stream
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-offline.