godaddy-api

Why I am getting “OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection” error on an API call with godaddy server?

自作多情 提交于 2019-12-24 09:09:43
问题 I was trying to fetch details from a third party using API call.It is working fine with my localhost but when I uploaded it to live server, it is returning an error like this. Why it is happening?. I am using godaddy server,so do I need to change any configuration in its cpanel?. following is my call to api using curl $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://test.httpapi.com/api/domains/available.json?auth-userid=65464&api-key=key&domain-name=".$domain."&tlds=com" ); curl

Godaddy api authorization error

半城伤御伤魂 提交于 2019-12-22 04:07:56
问题 I am trying to develop client application for GoDaddy based on their API that they provide here https://developer.godaddy.com And I have a problem with simple example, I am trying to use the next PHP code to check if domain available: use GuzzleHttp\Client; try { $client = new Client([ 'base_uri' => 'https://api.godaddy.com', ]); $responce = $client->get( '/v1/domains/available?domain=example.guru', [ 'headers' => [ 'Authorization' => "sso-key $myKey:$mySecret", 'X-Shopper-Id' => "$myID",

GoDaddy redirect from office365 not returning refresh token

ε祈祈猫儿з 提交于 2019-12-14 03:57:10
问题 I have an app which syncs to OneDrive. If the user is using Office365 via GoDaddy and I have a grant_type of 'refresh_token', it doesn't return the refresh_token back, which in turn, won't let me refresh the token I currently have. I've tried adding access_type="offline" and prompt="consent" when doing a POST request to no avail. Help? Here's my code: credentials = OpenStruct.new params = { client_id: client_credentials[:key], redirect_uri: redirect_url, client_secret: client_credentials[

Error 422 When Using Powershell to Update DNS Records on GoDaddy API

荒凉一梦 提交于 2019-12-07 18:52:13
问题 I am trying to update my DNS with GoDaddy via their API (My home network is on a Dynamic IP). I am able to succesfully update when using the script found at http://teanazar.com/2016/05/godaddy-ddns-updater/ when run through cygwin. However I am trying to simply things, and do this in powershell instead. However when trying to use the following script: $IP = Invoke-WebRequest http://api.ipify.org?format=json $IP2 = ConvertFrom-JSON $ip $domain = 'example.com' $type = 'A' $name = '@' $key =

Error 422 When Using Powershell to Update DNS Records on GoDaddy API

☆樱花仙子☆ 提交于 2019-12-06 09:12:25
I am trying to update my DNS with GoDaddy via their API (My home network is on a Dynamic IP). I am able to succesfully update when using the script found at http://teanazar.com/2016/05/godaddy-ddns-updater/ when run through cygwin. However I am trying to simply things, and do this in powershell instead. However when trying to use the following script: $IP = Invoke-WebRequest http://api.ipify.org?format=json $IP2 = ConvertFrom-JSON $ip $domain = 'example.com' $type = 'A' $name = '@' $key = 'key' $secret = 'secret' $Request = @{ttl='600';data=$ip2.ip;priority='1'} $JSON = Convertto-Json $request