api-example-microservice
Say hello application
A simple example for integrating with an application-restricted service, using an OAuth 2.0 access_token.
Any authorised request to this endpoint initiates a 'Hello Application' response.
get/hello/application
Request
- Base URLhttps://test-api.service.hmrc.gov.uk
- AuthOAuth 2Client credentialsToken URLhttps://api.service.hmrc.gov.uk/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Accept'application/vnd.hmrc.1.0+json' | 'application/vnd.hmrc.1.0+xml' required
Response
OK Response
Changes
No recorded changes to this operation across all 1 revision of this API.