Skip to content

A Meteor smart package for retrieving GET and POST data on the server and the client.

Notifications You must be signed in to change notification settings

johnnyfreeman/request-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

RequestData

To retrieve the foo request variable:

RequestData.get('foo') // --> 'bar'
RequestData.post('foo') // --> 'bar'

Both methods will throw a Meteor.Error if the key isn't found so make sure you use wrap with a try/catch if the variable is optional.

NOTE: POST data is not available to the client at the moment

About

A Meteor smart package for retrieving GET and POST data on the server and the client.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published