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.

Revisions

  1. davebshow created this gist Jan 20, 2017.
    24 changes: 24 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    ### 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'
    }
    }