- Home /
Question by
mahajir05 · Aug 23, 2018 at 04:15 PM ·
apiwebrequest
how to use the REST API on unity?
I've tried using the script below, but the results are not what they should be.
why the result like that? and how to solve it?
thanks.
img.png
(21.5 kB)
result.png
(18.7 kB)
Comment
Answer by jdnichollsc · May 25, 2019 at 11:41 PM
If you want you can try this RestClient for Unity
From the README of the plugin you can see examples, also using authentication with HTTP headers :)
As you can see, you can use the UnityWebRequest system more easily with Promises, retry requests, debug the logs of the requests, etc with that plugin and works in all platforms.
Your answer
