Skip to main content
Index

200: Success

The 200 (Success) status code indicates that the HTTP request was successful. In a GET request, the response will contain an entity corresponding to the requested resource whereas, in a POST request, the response will contain an entity describing or containing the result of the action.

 

Code 200
Description Success.

 

curl -X

GET "https://api.equinix.com/ne/v1/device/metro"

-H "Content-type: application/json"

-H "Authorization: Bearer qwErtY8zyW1abcdefGHI"

 

This is an example of a success message.

 

{
    "totalCount": 3,
    "pageNumber": 1,
    "pageSize": 20,
    "content": [
        {
            "region": "AMER",
            "metroCode": "DC",
            "metroDescription": "Ashburn"
        },
        {
            "region": "EMEA",
            "metroCode": "LD",
            "metroDescription": "London"
        },
        {
            "region": "AMER",
            "metroCode": "SV",
            "metroDescription": "Silicon Valley"
        }
    ]
}