Skip to content

Instantly share code, notes, and snippets.

View xdkreij's full-sized avatar

xdk xdkreij

View GitHub Profile
@xdkreij
xdkreij / ansible-summary.md
Created February 13, 2020 12:14 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@xdkreij
xdkreij / example.md
Created October 30, 2019 11:48 — forked from sdnts/example.md
Postman pm.sendRequest example

To send a request via the sandbox, you can use pm.sendRequest.

pm.test("Status code is 200", function () {
    pm.sendRequest('https://postman-echo.com/get', function (err, res) {
        pm.expect(err).to.not.be.ok;
        pm.expect(res).to.have.property('code', 200);
        pm.expect(res).to.have.property('status', 'OK');
    });
});