SteamWorks http request returning weird characters
I'm trying to get SteamWorks to read from json data using get requests, but it doesn't matter what URL I use to do it (and I've confirmed its valid json) it always returns weird characters.
PHP Code:
Leading to this error: Code:
L 07/25/2017 - 15:32:28: Info (map "ctf_2fort") (file "errors_20170725.log") |
Re: SteamWorks http request returning weird characters
The length parameter in SteamWorks_GetHTTPResponseBodyData(.., .., length); should be the actual length of response body received and not the max length of your buffer.
PHP Code:
PHP Code:
You can also just use SteamWorks_GetHTTPResponseBodyCallback() and not worry about anything above. |
Re: SteamWorks http request returning weird characters
Quote:
|
All times are GMT -4. The time now is 07:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.