Skip to content

Instantly share code, notes, and snippets.

@neeraj9
Created February 6, 2018 02:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save neeraj9/8915610b355875686296518d6c75283a to your computer and use it in GitHub Desktop.
Save neeraj9/8915610b355875686296518d6c75283a to your computer and use it in GitHub Desktop.
BeamParticle Efene Dynamic function for /post/ HTTP POST JSON handler
#!efene
#_ "A sample efene code to return what was passed in as the first argument."
#_ "Notice that this template works for the /post/<thisfun> interface, where"
#_ "json input is passed in the first argument postBody, while the response"
#_ "is a binary or a string, which must be json as well."
#_ ""
#_ "Read about Efene at efene.org"
#_ "see http://efene.org/language-introduction.html"
#_ ""
#_ "Author: Neeraj Sharma <neeraj.sharma@alumni.iitg.ernet.in>"
fn
case Body, Context:
Body
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment