Share via

How can I enter parameters in Thunder Client in Visual Studio Code to call my Azure function?

Kim Strasser 2,186 Reputation points
2026-02-06T14:24:42.1333333+00:00

I use this code on my iPad Air to call my Azure function DeleteAccountSendEmail:

  var result = await PlayFabCloudScriptAPI.ExecuteFunctionAsync(new ExecuteFunctionRequest()
  {
      Entity = new PlayFab.CloudScriptModels.EntityKey()
      {
          Id = entityid,
          Type = entitytype,
      },       
      FunctionName = "DeleteAccountSendEmail",
      FunctionParameter = new { SessionTicket = sessionticket, Deviceid = deviceid, Loginemail = loginemail, Language = language },
      GeneratePlayStreamEvent = true
  });

sessionticket, deviceid, loginemail and language are from type string.

How can I enter the same function parameters in Visual Studio Code in Thunder Client so that I can call my Azure function DeleteAccountSendEmail for testing purposes on my laptop?

Screenshot 2026-02-06 152137

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

{count} votes

Answer accepted by question author
  1. Pravallika KV 10,725 Reputation points Microsoft External Staff Moderator
    2026-02-06T14:43:05.17+00:00

    Hi @Kim Strasser ,

    You can pass the parameters in JSON format as below:

    Example:

    {
      "SessionTicket": "ABC123",
      "Deviceid": "device-xyz",
      "Loginemail": "******@email.com",
      "Language": "en"
    }
    

    JSON was incorrect. After changing the JSON, exception is resolved.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.