#!/bin/sh

SERVER=$1
TASK_NAME=$2
MOTIF=$3
OCCURRENCE=$4
RAND_OCCURRENCE=$5
CHI2=$6

curl -d "motif=${MOTIF}&occurrence=${OCCURRENCE}&rand_occurrence=${RAND_OCCURRENCE}&chi2=${CHI2}" -X POST ${SERVER}/motif_finder_web/add_result/${TASK_NAME}