zervnet / pdns

PowerDNS
GNU General Public License v2.0
0 stars 0 forks source link

Rest API Feature: cryptokeys POST #2

Closed benj-zen closed 8 years ago

benj-zen commented 8 years ago

Feature

Implement the POST Method for cryptokeys. Description: Link

benj-zen commented 8 years ago

Sadly there is an Issue #706 which prevents me to get the id of the newly added key. This lets my solution become a bit dirty. I'm currently looking for the best way to solve this.

benj-zen commented 8 years ago

c95e734843d03e075272070ff9fa0061f1585c07 first implementation

benj-zen commented 8 years ago

Depends on issue #4

MrM0nkey commented 8 years ago

@benj-zen Does the ApiException like here closes the methode? And if do the client get a response? It seems that resp->setErrorResult("Reasons happen", 422); return; would fit the api-spec better.