-
Notifications
You must be signed in to change notification settings - Fork 135
Unmanaged Extensions
Max De Marzi edited this page Jan 31, 2014
·
2 revisions
You can call your Neo4j Unmanaged Extensions directly from Neography.
@neo.get_extension('/example/service/queries/fofof/13343') # Call an UE using GET
@neo.post_extention('/movie/recommend', {"title" => "Rambo"}) # Call an UE using POST (json)
headers = {'Content-Type' =>
'application/x-www-form-urlencoded'}
@neo.post_extention('/music/recommend', # Call an UE using POST (form-urlencoded)
{"artist" => "Ministry",
"song" => "Just one Fix"}, headers)