Skip to content

ckoncz-hwx/connect-prism-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

See if I can intercept requests with connect-prism.

Well, seems like the request bodies are not serialized. Right now, prism is not used. The server intercepts all requests, and dumpts the request body in case the content type is application/json.

Usage:

npm install
node server.js

Then:

curl -X PUT -v -d '{"aaa":"bbb"}' -H "content-type: application/json" http://localhost:3000/aaa/a

About

Trying to record HTTP traffic with connect-prism

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published