Request Firewall Create API Failed: Missing FIREWALLGROUPID field

I want to manage firewall rule through Vultr API. I use nodejs, by the way. But when I send a post request to https://api.vultr.com/v1/firewall/rule_create, I got a error message: Missing FIREWALLGROUPID field.

Below's a fragment of my code:

below's the error message :



As you can see, I have sent the FIREWALLGROUPID  param. Anyone can help me with this? That will be highly appreciated.

Comments

  • sorry, I forgot to specify the conten-type. This problem has been solved.

Sign In or Register to comment.