NZ
Received package
Array
(
    [0] => Array
        (
            [weight] => 0.5
            [height] => 11
            [width] => 11
            [length] => 24
            [postage_type] => postage_only
            [envelope_size] => ALL
            [value] => 7
        )

)
endpoints : https://api.nzpost.co.nz/shippingoptions/2.0/domestic
NZ Post debug mode is on - to hide these messages, turn debug mode off in the settings.
Address query:
q=  
Auth Token Response:
 stdClass Object
(
    [access_token] => eyJhbGciOiJIUzI1NiIsImtpZCI6IlRFU1QiLCJwaS5hdG0iOiIxIn0.eyJzY29wZSI6W10sImNsaWVudF9pZCI6IjQ3NmMwNTAyMDczNzQyZjk4OWY1ZDQ4YjgzN2M2NjFkIiwiZXhwIjoxNjY1MDMxMTk5fQ.uUt5PPhYkaHS90RJ4wWxPitTg0XhHnrjqsKQqOG_Ja0
    [token_type] => Bearer
    [expires_in] => 86399
)
Auth Token Value:
 eyJhbGciOiJIUzI1NiIsImtpZCI6IlRFU1QiLCJwaS5hdG0iOiIxIn0.eyJzY29wZSI6W10sImNsaWVudF9pZCI6IjQ3NmMwNTAyMDczNzQyZjk4OWY1ZDQ4YjgzN2M2NjFkIiwiZXhwIjoxNjY1MDMxMTk5fQ.uUt5PPhYkaHS90RJ4wWxPitTg0XhHnrjqsKQqOG_Ja0
My endpoint:
 https://api.nzpost.co.nz/parceladdress/2.0/domestic/addresses/
NZ Post REQUEST:
q=
NZ Post RESPONSE:
stdClass Object
(
    [error] => Invalid Client
)
send_request
weight=0.5&height=11&width=11&length=24&postage_type=postage_only&envelope_size=ALL&value=7&format=json&pickup_suburb=Naenae&pickup_postcode=5011&delivery_dpid=
Auth Token Response:
 stdClass Object
(
    [access_token] => eyJhbGciOiJIUzI1NiIsImtpZCI6IlRFU1QiLCJwaS5hdG0iOiIxIn0.eyJzY29wZSI6W10sImNsaWVudF9pZCI6IjQ3NmMwNTAyMDczNzQyZjk4OWY1ZDQ4YjgzN2M2NjFkIiwiZXhwIjoxNjY1MDMxMjAxfQ.NKt6hLte7vELPLSDthGRkbQ_LR4QhP-Urirg9TFNyaE
    [token_type] => Bearer
    [expires_in] => 86399
)
Auth Token Value:
 eyJhbGciOiJIUzI1NiIsImtpZCI6IlRFU1QiLCJwaS5hdG0iOiIxIn0.eyJzY29wZSI6W10sImNsaWVudF9pZCI6IjQ3NmMwNTAyMDczNzQyZjk4OWY1ZDQ4YjgzN2M2NjFkIiwiZXhwIjoxNjY1MDMxMjAxfQ.NKt6hLte7vELPLSDthGRkbQ_LR4QhP-Urirg9TFNyaE
My endpoint:
 https://api.nzpost.co.nz/shippingoptions/2.0/domestic
NZ Post REQUEST:
weight=0.5&height=11&width=11&length=24&postage_type=postage_only&envelope_size=ALL&value=7&format=json&pickup_suburb=Naenae&pickup_postcode=5011&delivery_dpid=
NZ Post RESPONSE:
	

Showing the single result