1

I am trying to use Android Volley to call my functions within Azure, the call and response itself work fine but i cannot seem to work out how to send parameters from volley to the function, how do i pick up the key parameter within the azure function

public RequestComicPublishers(Response.Listener<String> listener) {
    super(Method.POST, REQUEST_URL, listener, null);
    params = new HashMap<>();

    String key = "8B2695ADAA2DA5F72768C44C9F327";
    params.put("key", key);
}

@Override
public Map<String, String> getParams()
{
    return params;
}

Currently i attempted the following in C# but have had no success

string key = req.Query["key"];
if(key == "8B2695ADAA2DA5F72768C44C9F327")
{
Taslim Oseni
  • 6,086
  • 10
  • 44
  • 69
Dean Beckerton
  • 196
  • 1
  • 9

1 Answers1

0

Instead of sending general data as form-data i sent data using headers, as this is supported within azure functions! :D

Dean Beckerton
  • 196
  • 1
  • 9