This isn't an ideal implementation because it's not clear from the documentation if sending everything in the URL for a JSON request is supported, but this does work when tested manually.
This isn't complete support for the endpoint. In particular, custom profile fields won't be set.
https://api.slack.com/methods/users.profile.set