Search Engine: Elastic

Article ID: 119024, created on Dec 5, 2013, last review on May 27, 2014

  • Applies to:
  • APS 2.x


Your APS2 package uses PHP runtime, and you declare a custom method that receives parameters via POST or PUT, like this:

* @verb(POST)
* @path("/parambypost")
* @param(string,query)
public function parambypost($postparam){
  return $postparam;

However, instead of expected parameter, the function returns 'true':

user$ curl -X POST -d 'postparam=123'


PHP runtime bug


Upgrade your PHP runtime to a more recent version. You can obtain an up-to-date version at the PHP Runtime Library page on APS standard website.

70bf700e0cdb9d7211df2595ef7276ab 717db81efe94e616312b74fb03a5d474

Email subscription for changes to this article
Save as PDF