Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 493022a0

Přidáno uživatelem Jan Pašek před asi 4 roky(ů)

Re #8475 - Connection to the RestAPI

Zobrazit rozdíly:

static/js/create_certificate.js
54 54
                        alert("CN field must be filled in!"); // TODO highlight the field
55 55
                        return;
56 56
                    }
57
                    // send the request and handle response
57
                    this.certificateData.validityDays = parseInt(this.certificateData.validityDays);
58 58
                    axios.post(API_URL + "certificates", this.certificateData)
59 59
                        .then(function (response) {
60 60
                            // on success return to index page

Také k dispozici: Unified diff