Closed colosi closed 9 years ago
Let's not merge this for now as I realized that we need to keep using OSDMap to make sure params get submitted to the apis as the correct types (instead of coercing them all to strings). How about we update this PR so just the first commit is in it. I can show you how.
assign it back to me when we've fixed it up
From Command Line, removed second commit. Status is now single commit of single file (from 2 commits). Helper now uses OSDMap again and OSDMap is passed in interface.
LGTM, go ahead and merge when you're ready.
Created BuildURLEncodedParamString helper Converted BuildWebRequest to use Dictionary instead of OSDMap Converted URL & created JSON string encoder helpers to use Dictionaries Interfaces are now using standard C# Dictionaries. OSDMap is encapsulated in helpers. Two issues with switching from OSDMap to Dictionaries were having to convert values to strings, and not being able to easily log a Dictionary.