public function OAuthRequest::to_url in OAuth 1.0 6.3
Same name and namespace in other branches
- 6 OAuth.php \OAuthRequest::to_url()
- 7.3 lib/OAuth.php \OAuthRequest::to_url()
builds a url usable for a GET request
1 call to OAuthRequest::to_url()
File
- lib/
OAuth.php, line 426 - OAuth 1.0 server and client library.
Class
Code
public function to_url() {
$post_data = $this
->to_postdata();
$out = $this
->get_normalized_http_url();
if ($post_data) {
$out .= '?' . $post_data;
}
return $out;
}