( ! ) Warning: Declaration of Jetpack_IXR_Client::query() should be compatible with IXR_Client::query(...$args) in C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php on line 0 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402920 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403200 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2311 | 9308728 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2311 | 9308752 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2311 | 9308752 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2317 | 9335432 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2317 | 9335432 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2317 | 9335432 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2317 | 9336448 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.2317 | 9336480 | rest_get_server( ) | ...\rest-api.php:403 |
11 | 1.2317 | 9339416 | do_action( ) | ...\rest-api.php:577 |
12 | 1.2317 | 9339792 | WP_Hook->do_action( ) | ...\plugin.php:517 |
13 | 1.2317 | 9339792 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
14 | 1.2327 | 9378992 | Jetpack_Core_Json_Api_Endpoints::register_endpoints( ) | ...\class-wp-hook.php:308 |
15 | 1.2330 | 9386984 | Jetpack::load_xml_rpc_client( ) | ...\class.core-rest-api-endpoints.php:64 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402920 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403200 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2311 | 9308728 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2311 | 9308752 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2311 | 9308752 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2317 | 9335432 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2317 | 9335432 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2317 | 9335432 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2317 | 9336448 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.2910 | 11127320 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.2911 | 11126976 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:310 |
12 | 1.2911 | 11127304 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402920 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403200 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2311 | 9308728 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2311 | 9308752 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2311 | 9308752 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2317 | 9335432 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2317 | 9335432 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2317 | 9335432 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2317 | 9336448 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.2910 | 11127320 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.2922 | 11126920 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:311 |
12 | 1.2922 | 11127240 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402920 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403200 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2311 | 9308728 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2311 | 9308752 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2311 | 9308752 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2317 | 9335432 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2317 | 9335432 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2317 | 9335432 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2317 | 9336448 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.2910 | 11127320 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.2935 | 11127112 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:315 |
12 | 1.2935 | 11127480 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402920 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403200 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2311 | 9308728 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2311 | 9308752 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2311 | 9308752 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2317 | 9335432 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2317 | 9335432 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2317 | 9335432 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2317 | 9336448 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.2910 | 11127320 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.2942 | 11127000 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:323 |
12 | 1.2943 | 11127320 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402920 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403200 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2311 | 9308728 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2311 | 9308752 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2311 | 9308752 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2317 | 9335432 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2317 | 9335432 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2317 | 9335432 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2317 | 9336448 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.2910 | 11127320 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.2950 | 11127064 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:335 |
12 | 1.2950 | 11127432 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402920 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403200 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2311 | 9308728 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2311 | 9308752 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2311 | 9308752 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2317 | 9335432 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2317 | 9335432 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2317 | 9335432 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2317 | 9336448 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.2910 | 11127320 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.2957 | 11127112 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:359 |
12 | 1.2957 | 11127480 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402920 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403200 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2311 | 9308728 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2311 | 9308752 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2311 | 9308752 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2317 | 9335432 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2317 | 9335432 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2317 | 9335432 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2317 | 9336448 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.2910 | 11127320 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.3369 | 11349512 | WP_REST_Server->send_headers( ) | ...\class-wp-rest-server.php:475 |
12 | 1.3369 | 11349512 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:1774 |
13 | 1.3369 | 11350056 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402920 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403200 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2311 | 9308728 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2311 | 9308752 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2311 | 9308752 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2317 | 9335432 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2317 | 9335432 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2317 | 9335432 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2317 | 9336448 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.2910 | 11127320 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.3369 | 11349512 | WP_REST_Server->send_headers( ) | ...\class-wp-rest-server.php:475 |
12 | 1.3379 | 11349512 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:1774 |
13 | 1.3379 | 11349832 | header ( ) | ...\class-wp-rest-server.php:1762 |
Authorization on Interswitch API can either be done through the OAuth Bearer realm or custom
\n“InterswitchAuth” realm. The section below defines how to use each. Except otherwise stated, the InterswichAuth will be used. In cases where the Bearer realm is required, it will be stated in the API documentation page.<\/p>\n
InterswitchAuth Realm <\/strong> <\/p>\n Bearer Realm<\/strong> <\/p>\n
\nThe InterswitchAuth authorization realm is a custom realm that allows you to be authenticated with just your ClientID. In this realm, developer is expected to encode client ID in base 64 in the Authorization header. See sample below.<\/p>\n\n\n
\n InterswitchAuth SUtJQUYzRDNGMkQyMEY1MTM2REVGNUExMjUwMzZDN0U0QjgzMzgwQjBGMjA<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\nThe bearer realm is a reuse of OAuth 2.0 authorization framework where developers are expected to send an access token for authorization. Access token are given\/issued to developers either by logging in to the developer console and generating one for themselves or by requesting for access token through an API call. See here for how to generate AccessToken.<\/p>\n\n\n
\n Bearer eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOlsicGFzc3BvcnQiXSwic2NvcGUiOlsicHJvZmlsZSJdLCJqdGkiOiI3ZGViNjllNS02ZjQzLTQ5OTUtOTdhNC02NTVjOGFmNWNkMjciLCJjbGllbnRfaWQiOiJBM0MyNkE2RTVDQTc0QjNBQTU4MUNERDdEMUU0NzRFRCJ9.cN0nnOiYu5KqCrhvUvRaUjlOcEN4W2O7sfSJVfOBrm2mMa1a0ulLD14iwdsyZ8vCBDUz8TO8BHRuQwS1cp9WDGz55kmhPsS9tuo35pqSlpj-MBuACnzzzBzl92Q5KDxyXaC5q0f1-utSJrYJOqHqvMZh0duq-6vnfNkZWjF95t83wJWXayy-mUBp7IH1m5mbQdYYNj_09oVS-cL03Drh7NWhBAV1LTNZnJq6Hp3G83aUzJNI-fmddmNeuYyaQRitcfMT3CzJ-8AG1XGe8Njne00fBaT01pDPM5gr2ZxANBd35jlqKrhmV2qM8Bo5S09JrTmeYAq_s4ty7DAETRoD4Q<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"author":169,"featured_media":0,"parent":499,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"spay_email":""},"doc_tag":[],"_links":{"self":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/514"}],"collection":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/users\/169"}],"replies":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/comments?post=514"}],"version-history":[{"count":2,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/514\/revisions"}],"predecessor-version":[{"id":516,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/514\/revisions\/516"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/499"}],"prev":[{"title":"HTTP Headers for Authentication","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-sec-headers\/authentication\/http-headers-for-authentication\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/511"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=514"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}