DocNougat / Meraki-Powershell-Module

A PowerShell Module for the Cisco Meraki API
GNU General Public License v3.0
18 stars 3 forks source link

Custom user agent strings #2

Closed TKIPisalegacycipher closed 1 year ago

TKIPisalegacycipher commented 1 year ago

Are developers who consume the module able to specify user agent strings as a best practice?

What does the module send in its user agent string by default?

DocNougat commented 1 year ago

This is a great idea and definitely an oversight on my part. I'll add it to the list of to-dos.

It looks like the default User Agent String is a concat of your windows and powershell versions: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) WindowsPowerShell/5.1.17763.4974

DocNougat commented 1 year ago

The module has been updated to version 1.0.2 and will now send an identifying useragent string with every request.