Skip to content

Commit

Permalink
Add file to support easier testing of the API while in IntelliJ
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbasjes committed Feb 1, 2021
1 parent f1106d3 commit f8a9f5a
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions webapp/src/test/Intellij-manual-testing.http
@@ -0,0 +1,49 @@
### Is it running?
GET http://localhost:8080/running

### Is it running?
GET http://localhost:8080/_ah/health

### Analyze and retrieve as JSON
POST http://localhost:8080/yauaa/v1/analyze/json
Content-Type: text/plain

Mozilla/5.0 (Linux; Android 10; Nokia 7.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36

### Analyze and retrieve as XML
POST http://localhost:8080/yauaa/v1/analyze/xml
Content-Type: text/plain

Mozilla/5.0 (Linux; Android 10; Nokia 7.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36


### Analyze and retrieve as YAML
POST http://localhost:8080/yauaa/v1/analyze/yaml
Content-Type: text/plain

Mozilla/5.0 (Linux; Android 10; Nokia 7.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36

### Run preheat
GET http://localhost:8080/yauaa/v1/preheat

### Run all tests
GET http://localhost:8080/yauaa/v1/runtests





### Yet Another UserAgent Analyzer
### Copyright (C) 2013-2021 Niels Basjes
###
### Licensed under the Apache License, Version 2.0 (the "License");
### you may not use this file except in compliance with the License.
### You may obtain a copy of the License at
###
### https://www.apache.org/licenses/LICENSE-2.0
###
### Unless required by applicable law or agreed to in writing, software
### distributed under the License is distributed on an "AS IS" BASIS,
### WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
### See the License for the specific language governing permissions and
### limitations under the License.

0 comments on commit f8a9f5a

Please sign in to comment.