Adding DefaultValue for query_param and post_param. Added param func