Changeset 3174505
- Timestamp:
- 10/23/2024 05:16:23 PM (17 months ago)
- File:
-
- 1 edited
-
xmpp-statistics/trunk/includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
xmpp-statistics/trunk/includes/functions.php
r3043113 r3174505 13 13 $response = wp_remote_post(get_option('xmpp_stats_rest_url').'/'.$command, array( 14 14 'headers' => array( 15 'Authorization' => 'Basic '.base64_encode(get_option('xmpp_stats_login').':'.get_option('xmpp_stats_password')) 15 'Authorization' => 'Basic '.base64_encode(get_option('xmpp_stats_login').':'.get_option('xmpp_stats_password')), 16 'Content-Type' => 'application/json' 16 17 ), 17 'body' => json_encode($arguments ),18 'body' => json_encode($arguments, JSON_FORCE_OBJECT), 18 19 'redirection' => 0, 19 20 'httpversion' => '1.1'
Note: See TracChangeset
for help on using the changeset viewer.