This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$c = new Client('https://poste.io/admin/api/v1/', 'admin@poste.io', 'admin'); | |
$c->delete('domains/t.com'); | |
$c->post('domains', ['name' => 't.com']); | |
$c->post('boxes', ['email' => 't@t.com', 'passwordPlaintext' => 't', 'name' => 't']); | |
$c->patch('boxes/t@t.com', ['name' => 'a', 'disabled' => true, 'passwordPlaintext' => 'a']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%- layout none -%} | |
{ | |
"menusHash": { | |
{%- for linklist in linklists %} | |
"{{ linklist.handle }}": {{ forloop.index0 }}{%- if forloop.last == false %},{% endif -%} | |
{% endfor -%} | |
}, | |
"menus": [{%- for linklist in linklists -%} | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"countries": { | |
"country": [ | |
{ | |
"countryCode": "AD", | |
"countryName": "Andorra", | |
"currencyCode": "EUR", | |
"population": "84000", | |
"capital": "Andorra la Vella", | |
"continentName": "Europe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var step_number = 0; | |
switch (Shopify.Checkout.step) { | |
case "contact_information": | |
step_number = 1; | |
break; | |
case "shipping_method": | |
step_number = 2; | |
break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
@defgroup eosiorpc RPC Interface | |
@brief Describes how to interface with eosd over HTTP RPC | |
@section tableofcontent Table Of Contents | |
- [Configuration](#configuration) | |
- [Chain API](#chainrpc) | |
- [get_info](#v1chaingetinfo) | |
- [get_block](#v1chaingetblock) | |
- [get_account](#v1chaingetaccount) |