X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fmrstub%2Fapp%2Fmain.py;h=40707d62ff5935385ecc8052c6d859f53b31b425;hb=674793d94f09873d24edd85f9eb2da2582d21673;hp=db13fc02c48cdbd89b30f8f9a4dc8bc1ab4d604c;hpb=1e539490bc37fed791895dd1f2f898caa3b0ca5c;p=nonrtric.git diff --git a/test/mrstub/app/main.py b/test/mrstub/app/main.py index db13fc02..40707d62 100644 --- a/test/mrstub/app/main.py +++ b/test/mrstub/app/main.py @@ -168,7 +168,7 @@ def create_message(operation, correlation_id, payload, url): ### MR-stub interface, for MR control # Send a message to MR -# URI and parameters (GET): /send-request?operation=&url= +# URI and parameters (PUT or POST): /send-request?operation=&url= # response: (http 200) o4 400 for parameter error or 500 for other errors @app.route(APP_WRITE_URL, methods=['PUT','POST']) @@ -421,4 +421,4 @@ else: print("No env variables - OK") if __name__ == "__main__": - app.run(port=HOST_PORT, host=HOST_IP) \ No newline at end of file + app.run(port=HOST_PORT, host=HOST_IP)