Сделать веб сервис, для работы с клиентами в стиле CRUD. Модель Customer должна содержать такие поля:
- Id
- First Name
- Last Name
- Emails
- Gender
- Day of Birth
Веб сервис должен иметь такие эндпоинты:
GET /customer— получить список клиентов
Сделать веб сервис, для работы с клиентами в стиле CRUD. Модель Customer должна содержать такие поля:
Веб сервис должен иметь такие эндпоинты:
GET /customer — получить список клиентов| DELETE /p01 | |
| PUT /p01 | |
| { | |
| "mappings": { | |
| "properties": { | |
| "name": { | |
| "type": "text" | |
| }, | |
| "facet_string": { |
| // check driver status: | |
| // https://localhost:41951/DYMO/DLS/Printing/StatusConnected | |
| // https://127.0.0.1:41951/DYMO/DLS/Printing/StatusConnected | |
| // list connected printers: | |
| // https://localhost:41951/DYMO/DLS/Printing/GetPrinters | |
| // https://127.0.0.1:41951/DYMO/DLS/Printing/GetPrinters | |
| var labelXml = ` | |
| <DieCutLabel Version="8.0" Units="twips"> |
| import random | |
| def generate_seq(length, min, max): | |
| """ | |
| Generate sequence of random integer numbers | |
| :param length: length of sequence | |
| :param min: minimal value of random number | |
| :param max: max value of random number | |
| :return: |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Repository: https://github.com/h-otter/zabbix-slackpy | |
| from json import loads | |
| from json import dumps | |
| from sys import argv | |
| import re | |
| class FormApiService { | |
| get_form_list() { | |
| return this.$http | |
| .get('api/form-manager') | |
| .then( ({body}) => body) | |
| .then( ({data}) => ...) | |
| } | |
| get_form( form_id ) { |
| // open followers popup | |
| var followers = []; | |
| jQuery('.follower_modal .actor .name').each(function(i, el){ | |
| followers.push(jQuery(el).attr('href')) | |
| }); | |
| // close followers popup | |
| // open following popup |
| for /f %%i in (list.txt) do ( | |
| powershell.exe -Command "(new-object System.Net.WebClient).DownloadFile('%%i', '%%~nxi')" | |
| ) |