Skip to content

Instantly share code, notes, and snippets.

@GDLMadushanka
Created December 12, 2018 09:10
Show Gist options
  • Save GDLMadushanka/939e08276c9595f21421336efdbb9d58 to your computer and use it in GitHub Desktop.
Save GDLMadushanka/939e08276c9595f21421336efdbb9d58 to your computer and use it in GitHub Desktop.
// Sample 01
// Request 1
{
"SamplePayload": {
"SampleArray": [
123.45
]
}
}
// Response 1
{
"SampleArray": [
123.45
]
}
// Sample 02
// Request 2 same as Request 1
// Response 2
{
"SamplePayload": {
"SampleArray": [
123.45,
"Hello World"
]
}
}
// Sample 03
// Request 3 same as Request 1
// Response 3 same as Response 2
// Sample 04
// Request 4 same as Request 1
// Response 4
{
"SamplePayload": {
"SampleArray": [
123.45,
{
"isEnrichJsonSupported": true
}
]
}
}
// Sample 05
// Request 5
empty {} or any JSON payload
// Response 5
{
"Speed of light": 299792458
}
/ Sample 06
// Request 6
{
"SamplePayload": {
"SampleArray": [
1.618, 3.14
]
}
}
// Response 6
Following line will appear as a log
[EI-Core] INFO - LogMediator Value of Pi : = 3.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment