You are here

public function OAuthRequest::to_postdata in OAuth 1.0 7.3

Same name and namespace in other branches
  1. 6.3 lib/OAuth.php \OAuthRequest::to_postdata()
  2. 6 OAuth.php \OAuthRequest::to_postdata()

builds the data one would send in a POST request

1 call to OAuthRequest::to_postdata()
OAuthRequest::to_url in lib/OAuth.php
builds a url usable for a GET request

File

lib/OAuth.php, line 440
OAuth 1.0 server and client library.

Class

OAuthRequest

Code

public function to_postdata() {
  return OAuthUtil::build_http_query($this->parameters);
}