{"id":184,"date":"2012-09-18T22:10:18","date_gmt":"2012-09-18T22:10:18","guid":{"rendered":"http:\/\/kb.digitalregistra.co.id\/?page_id=184"},"modified":"2018-01-17T09:25:10","modified_gmt":"2018-01-17T09:25:10","slug":"konfigurasi-umum","status":"publish","type":"page","link":"https:\/\/kb.srs-x.com\/en\/","title":{"rendered":"General Configuration"},"content":{"rendered":"<p><a href=\"http:\/\/kb.srs-x.com\/id\/\"><strong>Versi Bahasa Indonesia<\/strong><\/a><\/p>\n<h1>General Configuration<\/h1>\n<p>SRS-X provides API that makes developer abble to access SRS-X using their own application. Only registered IP address(es) is allowed to access SRS-X&#8217;s API.<\/p>\n<p>To add your IP address, login to your reseller account and go to menu <strong>Configuration &gt;&gt; General Setting<\/strong>, switch to API tab and enter your application&#8217;s IP address that will access SRS-X&#8217;s API.<\/p>\n<p>On each connection to API, there are at least two required parameters:<\/p>\n<h2>API Username<\/h2>\n<h2>API Password<\/h2>\n<p>You can find your API Username and password by following this link : <a href=\"http:\/\/kb.srs-x.com\/en\/reseller\/reseller-configuration\/api-settings\">http:\/\/kb.srs-x.com\/en\/reseller\/reseller-configuration\/api-settings<\/a><\/p>\n<h2>Example<\/h2>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n$post[&amp;quot;username&amp;quot;] = 'apiusername';\r\n$post[&amp;quot;password&amp;quot;] = hash('sha256','apipassword');\r\n\r\n$url = 'http:\/\/[reseller url]\/api\/domain\/register';\r\n\r\n$ch = curl_init();\r\ncurl_setopt($ch, CURLOPT_URL, $apiurl);\r\ncurl_setopt($ch, CURLOPT_POST, 1);\r\ncurl_setopt($ch, CURLOPT_TIMEOUT, 100);\r\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\r\ncurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\r\n$response = curl_exec($ch);\r\ncurl_close($ch);\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Versi Bahasa Indonesia General Configuration SRS-X provides API that makes developer abble to access SRS-X using their own application. Only registered IP address(es) is allowed to access SRS-X&#8217;s API. To add your IP address, login to your reseller account and &hellip; <a href=\"https:\/\/kb.srs-x.com\/en\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":481,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/pages\/184"}],"collection":[{"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/comments?post=184"}],"version-history":[{"count":14,"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/pages\/184\/revisions"}],"predecessor-version":[{"id":1544,"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/pages\/184\/revisions\/1544"}],"up":[{"embeddable":true,"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/pages\/481"}],"wp:attachment":[{"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/media?parent=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}