Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The type of event handler to be used. Set to HTTP Request to specify a HTTP request for the build event. Image Removed

Image Added

Server URL

The server the HTTP endpoint to call exists on. Note that the Continua CI server will require access to the server as it is responsible for running build event handlers. Please make sure that the server is accessible from the machine your Continua CI server is installed on if experiencing any connectivity issues. 

Resource

The resource endpoint on the server that is to be requested. Note that this is just the pure path to the endpoint, any query strings can be added later in the query string section. 

Method

The method type to use in the request. The available options here are:

  • Get
  • Post
  • Put
  • Patch
  • Delete

The method should match what the endpoint requires so that the correct action or resource is accessed on the server. 

Data Format

The format the data sent or requested should be presented in. Note that the build event handler will attempt to parse response data in the format selected before extacting any variable values. If this parsing fails, the variable values will not be assigned. 

Also some HTTP endpoints require data to be sent in specific format. If the correct format is not used then the endpoint may fail with a Bad Request response. Make sure to set the data format required by the endpoint in question. 

The context-type header will also be set based on the data format selected. For example selecting JSON will mean the context-type header will be set to application/json.

Authentication Type

The type of authentication to use to interact with the specified endpoint. The types of authentication possible are:

  • None
  • Basic
  • NTLM
  • Access token as parameter
  • Credentials as parameter

The login method to use will be dependent on the endpoint in question. Some endpoints also offer token-based resource paths to alleviate the need to provide credentials. 

Basic & NTLM Authentication 

Image Added

Access Token as Parameter Authentication

Image Added

Credentials as Parameters Authentication

Image Added