Untrack test-calls

parent e7d5dbd9
#!/bin/sh
CONTENT=`php -r 'echo base64_encode(file_get_contents("text.pdf"));'`
echo $CONTENT;
curl -v -X POST \
--header "User-Agent: MINEDU OSTEAM Testing Script" \
-H "Content-type: application/json" \
-H "Authorization: Basic YWRtaW46YWRtMW4xMjM0IQ==" \
-d "{\"filename\":\"text.pdf\",\"base64content\":\"$CONTENT\"}" \
"http://localhost/devel/osteam-code-samples/validate-signature/slim-app/public/validate"
# -F "content=CONTENT" \
#!/bin/sh
curl -v -X POST \
--header "User-Agent: MINEDU OSTEAM Testing Script" \
-F "name=Title" \
-F "content=@test.pdf" \
"http://generic.local.dev/app/validate"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment