Plugin rest server
Hello,
I need simple server in my plugin which will take json and send response in json format. Found RestService and already tried it. Also found that if I start two instances of IDE both instances will receive this messages. But for my logic it's incorrect.
I'm interested this is a good decision or I need to use something other?
Thank you in advance!
Aleks.
Please sign in to leave a comment.
I was in same situation - RestServer is shared within different projects that are opened in IntelliJ. To figure out which project request belongs to I am sending
projectBasePath
in each request. Having path you can find project usingProjectManager.getInstance().openProjects.find