Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sending json using post method, got by getData() but can't use in sendD... #27

Closed
wants to merge 1 commit into from

Conversation

aresthelord
Copy link

...ata()

/*in case of sending json using post method the class can get this object by getData()
            but can not use the gathered info in sendData() */
            if($this->data){
                $params['data'] = $this->data;
            }
            $result = call_user_func_array(array($obj, $method), $params);

…dData()

	/*in case of sending json using post method the class can get this object by getData()
				but can not use the gathered info in sendData() */
				if($this->data){
					$params['data'] = $this->data;
				}
				$result = call_user_func_array(array($obj, $method), $params);
@jacwright
Copy link
Owner

I'm not sure what this is trying to solve. It seems to just be changing the way to access data. Could you make a case for this change?

@@ -59,6 +59,7 @@ class RestServer
public $realm;
public $mode;
public $root;
private $data;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This variable doesn't appear to be set anywhere.

@tyzoid
Copy link
Collaborator

tyzoid commented Jul 18, 2017

Closing as it appears to do nothing and is quite old/inactive. Please feel free to edit if this is still an issue for you.

@tyzoid tyzoid closed this Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants