0

I created a Timer Trigger Azure Function in Java. Sometimes we need to manually execute that function as well. I am following the documentation and try to trigger the function via HTTP endpoint (https://hostname/admin/functions/function name) . But it is returning 400 Bad Request always. My function has no input . I have tried with different POST Body like {} { "input": null } and { "input": test}.

Jithin
  • 31
  • 3

1 Answers1

0

I have reproduced by creating a Time trigger function in VS code and deployed to the function app in Azure portal.

I copied the URL from function app and tried to post body in Postman with the same input you have given:

Output: enter image description here

The body should be in Json format as below:

enter image description here

Pravallika KV
  • 2,415
  • 2
  • 2
  • 7