summaryrefslogtreecommitdiffstats
path: root/infra/footprint/footprint-impl/asciidoc/Readme.adoc
blob: 79306b52e4a2bdcaa2dc830e9bf109def07d52a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
= impl

== To read footprint

[source,java]
----
HttpResponse<String> response = Unirest.get("http://localhost:8183/restconf/operational/footprint:memory-footprint-state")
  .header("authorization", "Basic YWRtaW46YWRtaW4=")
  .header("content-type", "application/json")
  .asString();
----

[source,shell]
----
curl --request GET \
  --url http://localhost:8183/restconf/operational/footprint:memory-footprint-state \
  --header 'authorization: Basic YWRtaW46YWRtaW4=' \
  --header 'content-type: application/json'
----