Get/Post REST API Data using UnityWebRequest | Unity Game Engine

preview_player
Показать описание
Copy code from here-

Feel free to Like and Share to show support for this channel.
Don't forget to leave a comment if anything comes to mind.
Have a nice day :)

#unity #rest #api
Рекомендации по теме
Комментарии
Автор

I didnt realise you could do this sort of stuff.
When I found out years ago, it blew my mind with the amount of integration you can perform.

aussieraver
Автор

"Are you reviewing headsets or cows" Type video music😂

babdie
Автор

Action speaks louder than words. Cool~

minmyatzawmoe
Автор

Thank u so much..excellent video 😍😍🤩🤩🤩

visitor_t-wp
Автор

Anyone knows of a tutorial of how to do it the other way around? i have and application which has to post information into unity using rest

erickr
Автор

How to resolve that? I receive this at 2:10 instead->
NullReferenceException: Object reference not set to an instance of an object
() (at Assets/GetMethod.cs:21)
enumerator, System.IntPtr returnValueAddress) (at

GetMethod:GetData() (at Assets/GetMethod.cs:17)

XilofononeXinining
Автор

How do you actually POST it though? I'm trying to upload a file to my web hosting, I can retrieve it and display it using the GET method but the POST method doesn't work, just says forbidden if I define the directory only where my handle_post.php file is, or if I specify the actual php file, it says error 404. I'm confused. Any help would be deeply appreciated.

NewbNinjas
Автор

No matters, How much subscribers.... This Video Matters which is very Easy to understand and start me with Rest API. Thanks bro :) ☺

shurvirmori
Автор

How can we send the secret and public keys for security connection?

jfiascaro
Автор

do you know what kind of service that I can manage my own json for free or cheap?

restushlogic
Автор

It works for me. Its shows me the JSON Data but i just want to show a specific part of the API and not all information. Can you share how to do after Web request. Thank you.

blockchaingames
Автор

I got this error while get data - HTTP/1.1 405 Method Not Allowed

chamilagayan
Автор

So can we play a unity project with the same way mate?

BahadrCAKARhosgeldin
Автор

Hi Unity3D School,
I am new to Unity and have not much knowledge about webserver, my case is:
I have a LAMP set up in my Raspberry Pi 4, and it working fine. I can open phpmyadmin page on Raspi on my PC's browser.
I need to make an very simple mobile app to trade data with Raspi for Home management usage. Does the method mentioned in this work with my config?
If not, please tell me what I need to do, or just change the concept.
Please help.

NHGeneral
Автор

Sry for asking a question, I was following ur steps (PostData) and then Unity returns my start not set to an instance of an object (All codes are correct ) What is goning on here ? :(

hank
Автор

Thanks for this useful tutorial, you've helped me so much!

dmytromahas
Автор

How can I GET request all the text from the box, basically the reverse of what you did in the video.

bomxacalaka
Автор

Can you use a POST to upload an image file?

ItsYourBoPhase
Автор

Hey how could I use web request to get texture?

yourlocalgamedev
Автор

how to check the post data is working ?

luyangzou
join shbcf.ru