I'm trying to pass an ipv6 address through curl -X POST -d
. I'm following the example with an ipv4 address.
With ipv4 it is done in the following way:
curl -X POST -d '{"address": "10.0.1.100/24"}' http://localhost:8080/router/0000000000000001
What's the syntax for sending an ipv6 address instead of the ipv4 address? It's for a project with SDN, RYU controller and IPv6.
Thank you for the help you can give me.