Hi, I'm trying to make an M3 API call from a non-infor application (running on a server inside our network). its a batch application and so I need to prevent the login panel from being displayed which requests the entry of a valid M3 Userid and password.

I'm an M3 java developer with little web development knowledge or experience so not very well versed in this tech.
I believe that basic authentication can be done by passing the base64-encoded userid and password to the webservice in the following format... Authorization: Basic <base64-encoded(user/password)> but I dont know how to send this to the webservice.
Is the encoded user and password sent as a parameter string with the login request?
eg [webservice]:[port]/m3api-rest/execute/login/basic <plus additional parameter string here? >
Can anyone help?
Thanks and best regards,
Chris