Skip to content

Instantly share code, notes, and snippets.

@davebshow
Created January 20, 2017 22:27
Show Gist options
  • Save davebshow/31d2dfd06c48426f9e3391e0593d4092 to your computer and use it in GitHub Desktop.
Save davebshow/31d2dfd06c48426f9e3391e0593d4092 to your computer and use it in GitHub Desktop.
### REQUEST MESSAGE ###
b'!application/vnd.gremlin-v1.0+json{"args": {"gremlin": "1 + 1"}, "requestId": "043f969b-c1b9-4e7d-a6e5-0fac658b9b3e", "processor": "", "op": "eval"}'
### SERVER RESPONSE ###
{
'requestId': None,
'status': {
'attributes': {
'@class': 'java.util.Collections$EmptyMap'
},
'message': 'Invalid OpProcessor requested [null]',
'@class': 'java.util.HashMap',
'code': 499
},
'@class': 'java.util.HashMap',
'result': {
'meta': {
'@class': 'java.util.Collections$EmptyMap'
},
'data': None,
'@class': 'java.util.HashMap'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment