Last active
October 6, 2021 16:39
-
-
Save JoeGlines/34378ae17245851d4732c0ff0fd0f188 to your computer and use it in GitHub Desktop.
A function to build query strings for API calls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;******************************************************* | |
; Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY | |
; Right now you can get a coupon code here: https://the-Automator.com/Learn | |
;******************************************************* | |
QueryString_Builder(x){ | |
for a,b in x | |
String.=(A_Index=1?"?":"&") a "=" b | |
return String | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment