treagod / spectator

Client to test web endpoints
https://treagod.github.io/spectator/
GNU General Public License v3.0
77 stars 6 forks source link

Make Request Instance available in JavaScript #13

Closed treagod closed 5 years ago

treagod commented 5 years ago

This change improves the simple JavaScript capabilities of Spectator.

The user has now access to the request object, which is defined in the Spectator application. Furthermore the user can add addiotional, temporary headers in the script.

The post function in JavaScript was also improved and can now create JSON/UrlEncoded/FormData bodies.