Basic transfer command for domain

This commit is contained in:
Martin Lensment 2014-08-27 17:25:39 +03:00
parent bb78c0f581
commit 707c60b36e
8 changed files with 76 additions and 2 deletions

View file

@ -349,6 +349,10 @@ describe 'EPP Domain', epp: true do
expect(d.owner_contact_code).to eq('mak21')
expect(d.auth_info).to eq('2BARfoo')
end
it 'transfers a domain' do
response = epp_request('domains/transfer.xml')
end
end
it 'checks a domain' do

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<transfer op="query">
<domain:transfer
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.ee</domain:name>
<domain:authInfo>
<domain:pw roid="JD1234-REP">98oiewslkfkd</domain:pw>
</domain:authInfo>
</domain:transfer>
</transfer>
<clTRID>ABC-12345</clTRID>
</command>
</epp>