Skip to content

Add PUT and POST methods#7

Open
ururk wants to merge 15 commits intotrevorspecht:masterfrom
ururk:master
Open

Add PUT and POST methods#7
ururk wants to merge 15 commits intotrevorspecht:masterfrom
ururk:master

Conversation

@ururk
Copy link
Copy Markdown

@ururk ururk commented Mar 15, 2021

No description provided.

@ururk
Copy link
Copy Markdown
Author

ururk commented Mar 16, 2021

This includes a new feature - and uses a different library than request. Promises instead of callbacks, which allows the use of await:

let response = await jamf.get(`/mobiledevices/serialnumber/${serial_number}`);

It breaks the interface a bit - since the second parameter used to be a callback, code will have to be rewritten to use these new features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant