Skip to content

Commit a767f29

Browse files
docs: add README
1 parent aaf8379 commit a767f29

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Evaluation Function Testing Server
2+
3+
This server is intended to be run locally while using the Response Area
4+
Sandbox. It acts as a proxy between the Sandbox (running within a web browser)
5+
and an evaluation function.
6+
7+
Web browsers send a [preflight
8+
request](https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request)
9+
before every GET or POST request which uses the OPTIONS verb. Evaluation
10+
functions (running locally or on AWS) are not configured to respond to OPTIONS
11+
requests, so this proxy is responsible for replying to the preflight request and
12+
forwarding just the POST request to the evaluation function.

0 commit comments

Comments
 (0)