Pārlūkot izejas kodu

Added simple console curl tests

Alois Mahdal 11 gadus atpakaļ
vecāks
revīzija
603afdb820
2 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 5
    0
      curltest-local.sh
  2. 5
    0
      curltest.sh

+ 5
- 0
curltest-local.sh Parādīt failu

@@ -0,0 +1,5 @@
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 Parādīt failu

@@ -0,0 +1,5 @@
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"