Hi folks,
I have a number of clients using modules that are triggered by cron jobs to perform various functions automatically once a day. The cron commands all use the Linux GET command to trigger merchant.mvc or admin.mvc. But in some cases the URL parameters include passwords, which really shouldn't be exposed in this way. I'd like to switch to using an HTTP POST instead of GET, so that the passwords and other data can be transmitted securely.
I've been doing some Web searches, and it looks like this can be done by using POST instead of GET as the command, or by using wget with a --post option, or by using curl. But I had trouble finding examples for the first one; and I'm not sure if any of these can be used on the clients' servers.
Has anyone used any of these techniques? Can you give me an example of how to write the command?
Also, maybe someone from Miva can chime in on whether POST, wget, and/or curl are available on Miva-hosted stores?
Thanks -
I have a number of clients using modules that are triggered by cron jobs to perform various functions automatically once a day. The cron commands all use the Linux GET command to trigger merchant.mvc or admin.mvc. But in some cases the URL parameters include passwords, which really shouldn't be exposed in this way. I'd like to switch to using an HTTP POST instead of GET, so that the passwords and other data can be transmitted securely.
I've been doing some Web searches, and it looks like this can be done by using POST instead of GET as the command, or by using wget with a --post option, or by using curl. But I had trouble finding examples for the first one; and I'm not sure if any of these can be used on the clients' servers.
Has anyone used any of these techniques? Can you give me an example of how to write the command?
Also, maybe someone from Miva can chime in on whether POST, wget, and/or curl are available on Miva-hosted stores?
Thanks -
Comment