1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
I had to use the set variable before the JSON structure. I was trying it inside and was failing at the syntax validation.
#set($milliseconds = $context.requestTimeEpoch + 2*86400000)
This sets the milliseconds variable to current epoch + 2 days and this variable can be used in subsequent JSON.
répondu il y a 3 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans