Skip to content

Instantly share code, notes, and snippets.

View ihor-lev's full-sized avatar
😎

Ihor Kysylevych ihor-lev

😎
View GitHub Profile
@mgol
mgol / jquery-es6-example.md
Last active November 30, 2024 19:06
jQuery ES6 modules example usage

jQuery source is now authored using ES6 modules. It's possible to use them directly in the browser without any build process.

To test it locally, first clone the jQuery repository:

git clone [email protected]:jquery/jquery.git

Then, write the following index.html file:

@Sominemo
Sominemo / monobank-corp-api-ru.md
Last active December 30, 2024 06:52
Monobank Corp API Interaction

Mono Corp API Interaction

Also available: English version

Обозначения

  • Secret Proof: Секретный пароль, который должен знать только сервер monobank;
  • Ответ: JSON сериализированный вывод с Content-Type: application/json и кодом ответа 200 OK;
  • %METHOD% /%resource% Monobank Request: HTTP %METHOD% (GET|POST|...) запрос к https://api.monobank.ua/%resource% -> POST /personal/auth/request Monobank Request. См. Отправка запросов в Monobank;
  • Закрытый ключ: Сгенерированный OpenSSL ключ;