Get IPv4 URL

post

/management/weblogic/{version}/serverRuntime/getIPv4URL

The URL that clients use when connecting to this server using the specified protocol.

Note: The listen address and listen port for a given protocol are persisted in the domain's config.xml file, however when a server instance is started, command-line options can override these persisted values. This getURL method returns the URL values that are currently being used, not necessarily the values that are specified in config.xml

Request

Supported Media Types
Path Parameters
Header Parameters
  • The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Body ()

Must contain the following fields:

Root Schema : Arguments
Type: object
Title: Arguments
Show Source
Security
  • Type: basic
    Description: A user in the Admin security role.
Back to Top

Response

Supported Media Types

200 Response

Returns the following fields:

Body ()
Root Schema : Return
Type: object
Title: Return
Show Source
Back to Top

Examples

Invoke the getIPv4URL action.

This example uses the POST method to invoke the getIPv4URL action.

Example Request
curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{ protocol: 'http' }" \
-X POST http://localhost:7001/management/weblogic/latest/serverRuntime/getIPv4URL
Example Response
HTTP/1.1 200 OK

Response Body:
{"return": "http:\//localhost:7001"}
Back to Top