Add a URL

Adds a new URL to a site.

post/urls

Request

  • Base URL
    https://api.speedcurve.com/v1
  • URL
    https://api.speedcurve.com/v1/urls
  • Auth
    HTTP basic

Request body application/x-www-form-urlencoded

site_idinteger required

The site that the URL will be created in

urlstring required

The URL string

labelstring

A label for identifying the URL

scriptstring

Script used when running tests for this URL

usernamestring

HTTP basic authentication username

passwordstring

HTTP basic authentication password

Response

200

statusstring
messagestring
url_idinteger

Example response

{
  "status": "success",
  "message": "URL created",
  "url_id": 3865227
}

Changes

No recorded changes to this operation across all 2 revisions of this API.