Forum Discussion
2 Replies
Sort By
- Lee_SutcliffeNacreous
Try this
when HTTP_REQUEST { set message "{\"result\":null,\"errors\":[],\"warnings\":[],\"hasErrors\":false,\"hasWarnings\":false}" if {[HTTP::uri] equals "/my/path"} { HTTP::respond 200 -version 1.1 content $message noserver "Content-Type" "application/json" "Connection" "close" } }
- mikey_webbCirrus
Thanks Lee - initial testing shows this as working