Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
jprouty
New Contributor

100D API support

I have a forgate 100D

I am trying to use the API to create firewall addresses and update a policy

I am on firmware 6.2.16 the latest for the 100D

I have tried

http://<IP>/api/v2/cmdb/firewall/address?access_token=<KEY>

 

I get a 200 result but it never adds the address to the firewall

 

body example

{
'name': "test_IP_JP",
'subnet': "1.1.1.1/32"
''associated-interface': "Untrust"
}

 

but I get back a GET listing all the addresses

from the api debug It looks right

 

any suggestions?

 

 

 

 

 

 

1 Solution
jprouty

I found my error the https needs to be on and it was redirected from 443 to another port

this caused my APIs to fail

View solution in original post

4 REPLIES 4
Stephen_G
Moderator
Moderator

Hello,

 

Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.

 

Thanks,

Stephen - Fortinet Community Team
Stephen_G
Moderator
Moderator

Hello,

 

We are still looking for someone to help you.

We will come back to you ASAP.

Stephen - Fortinet Community Team
jprouty

I found my error the https needs to be on and it was redirected from 443 to another port

this caused my APIs to fail

Stephen_G

Glad to hear you got it figured out! Well done, and thanks for sharing the solution. I hope this helps someone else too.

Stephen - Fortinet Community Team
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors