Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 7dd54fd2

Přidáno uživatelem Stanislav Král před téměř 4 roky(ů)

Re #8708 - Changed the endpoint generating PKCS12 identities to GET from POST (the generated identity is not stored on the server)

Changed the endpoint test accordingly

Zobrazit rozdíly:

app.py
85 85
    return crl_ocsp_controller.get_ocsp_from_der(id, request.data)
86 86

  
87 87

  
88
@app.route('/api/certificates/<id>/identity', methods=["POST"])
88
@app.route('/api/certificates/<id>/identity', methods=["GET"])
89 89
def generate_certificate_pkcs_identity(id, certificate_controller: CertController):
90 90
    return certificate_controller.generate_certificate_pkcs_identity(id)
91 91

  

Také k dispozici: Unified diff