question

tc avatar image
tc asked

Is there a way to receive GET requests on the PlayFab Server?

I was hoping to implement an player email account confirmation system through a SendGrid message with a URL that makes a GET request to the a Cloud Script function that updates a PlayFab Server value to indicate that the player owns the email address submitted. But it doesn't look like Cloud Script can handle that. Is there some other way to accomplish this?

Player DataAccount ManagementCustom Game Servers
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

All the Web API calls to PlayFab are POST type requests, so that they can have a body containing the info for the request. A GET wouldn't actually help in this case, as the player still wouldn't have a Session Ticket yet (or an account). What you are looking for is a way to require user validation of emails. We do have a backlog item for that, though we haven't scheduled that work yet, so I can't say when it will be available. Adding it to the Feature Requests forum was the best thing to do, so thanks for that - that'll let us track on how many developers would find it useful.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.