API CMD_API_DOMAIN_POINTER not working

jonium

Verified User
Joined
Nov 10, 2010
Messages
208
Location
Alezio - Lecce- Apulia - South Italy
Hello,
until some months ago we used a php page that created a pointer to a domain via CURL.
It stopped working after CURL started requiring SSL.
Now we updated CURL and we get the following result

Code:
$ curl https://user:pass@server:2222/CMD_API_DOMAIN_POINTER?user=user&domain=www.expireddomain.it&action=add&from=archeart.it&alias=yes&notify=no
[1] 21847
[2] 21848
[3] 21849
[4] 21850
[5] 21851
[2]   Done                    action=add
[3]   Done                    from=archeart.it
[4]-  Done                    alias=yes

$ error=1&text=Could%20not%20execute%20your%20request&details=You%20do%20not%20own%20that%20domain

[1]-  Done                    curl https://user:pass@server:2222/CMD_API_DOMAIN_POINTER?domain=www.expireddomain.it
[5]+  Done                    notify=no

Instead the following command works, and it outputs correctly the list of the pointers:

Code:
$ curl https://user:pass@server:2222/CMD_API_DOMAIN_POINTER?domain=www.expireddomain.it

Any ideas?
 
Last edited:
Well, the ampersand (&) in bash is treating the command as placing it in the background.

You'll need to encapsulate the URL in quotes

curl 'https://user:pass@server:2222/CMD_API_DOMAIN_POINTER?user=user&domain=www.expireddomain.it&action=add&from=archeart.it&alias=yes&notify=no'
 
Last edited:
Back
Top