You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently only GET method is available. I'll try to add POST as well as PUT, PATCH and DELETE methods for Easy APIs. @JohannTIM what are you looking to POST btw - JSON or other data?
@JohannTIM if you want to see a Unity example I've also updated the App Services Demo.
The Generate Scores button will now submit multiple random scores with the POST method using Easy API (node backend).
Activity
deadlyfingers commentedon Oct 14, 2016
Currently only GET method is available. I'll try to add POST as well as PUT, PATCH and DELETE methods for Easy APIs. @JohannTIM what are you looking to POST btw - JSON or other data?
I've added this to the feature demo roadmap -
https://github.com/Unity3dAzure/AppServicesDemo/wiki/Feature-roadmap
deadlyfingers commentedon Oct 15, 2016
Encountering an issue using "post" method in Easy API (node backend) - its returning the "get" response in Postman app. Anyone else encountered this before? Also posted comment here -
https://azure.microsoft.com/en-gb/documentation/articles/app-service-mobile-node-backend-how-to-use-server-sdk/
deadlyfingers commentedon Oct 15, 2016
Ah found the answer - POST needs to be sent from "https" not "http"!
deadlyfingers commentedon Oct 15, 2016
@JohannTIM if you want to see a Unity example I've also updated the App Services Demo.
The Generate Scores button will now submit multiple random scores with the POST method using Easy API (node backend).
Unity InvokeApi example using POST:
https://github.com/Unity3dAzure/AppServicesDemo/blob/master/Assets/Scripts/HighscoresDemo.cs#L316
Easy API node script:
https://github.com/Unity3dAzure/AppServicesDemo#easy-api-generatescores-script-apigeneratescoresjs