Browse Source

Added simple console curl tests

Alois Mahdal 11 years ago
parent
commit
603afdb820
2 changed files with 10 additions and 0 deletions
  1. 5
    0
      curltest-local.sh
  2. 5
    0
      curltest.sh

+ 5
- 0
curltest-local.sh View File

1
+#!/bin/sh
2
+
3
+[ "$1" = "html" ] && format='&__format=html'
4
+
5
+curl -v "http://localhost:3000/st/release/rc?a=b$format"

+ 5
- 0
curltest.sh View File

1
+#!/bin/sh
2
+
3
+[ "$1" = "html" ] && format='&__format=html'
4
+
5
+curl -v "http://strail.zxcvb.cz:3000/st/release/rc?a=b$format"