Skip to content

Testing Tools

HTTP Client Collections

IntelliJ supports a simple format for describing calls to REST APIs. These are called HTTP Client Collections. The beauty of them is that in addition to being executable in an IntelliJ environment, they are very readable and so the Egeria community uses them to document the OMAG Server Platform REST API. These files have a http file extension.

Command-line request tools

In addition to IntelliJ there are command line tools for calling REST APIs.

curl

The command that is most commonly available is curl.

Example curl command

curl --insecure -X GET https://localhost:7443/open-metadata/platform-services/users/test/server-platform/origin

Disable SSL certificate verification

Note that Egeria is using https://, so if you have not replaced the provided self-signed certificate, ensure you include --insecure on any requests to skip certificate validation.

HTTPie

As an alternative to curl you might like to try HTTPie , which has more advanced functions.

Disable SSL certificate verification

Note that Egeria is using https://, so if you have not replaced the provided self-signed certificate, ensure you include --verify no to any requests to skip certificate validation.


Raise an issue or comment below