Submitting via the web interface

Submitting via the web interface SearchSearch
Author Message
ukeen
Posted on Wednesday, February 05, 2003 - 11:23 am:   

I have tried to create a url post request to the send mms message web interface. However, once received, the interface processes the request but does not create an mms message, nor does it send an alert.

I have tried to send the mmsfile params with absolute paths and relative paths, but neither seem to work.

Should the files be placed in a certain folder within the nowsms installation directory?

Any advice?
Bryce Norwood - NowSMS Support (Bryce)
Posted on Wednesday, February 05, 2003 - 03:37 pm:   

Hi ukeen,

Everything works when you send through the web menu interface though, right?

When you do an MMS message post, you need to actually include the content of the file in the post. Unfortunately, you cannot do that in a simple HTTP GET request, you need to do an HTTP POST in the "multipart/form-data" format. An example is given in the following message thread on this discussion board:

Example of the MMS mesg for sending MMS to MMSC

Also, I'm not sure what development environment you work with, but the process of doing this is called an "HTTP File Upload", and you might want to look to see if there are any development tools in your environment that simplify the process of creating a "multipart/form-data" POST for "HTTP File Upload".

-bn
ukeen
Posted on Wednesday, February 05, 2003 - 03:55 pm:   

Thanks Bryce!!!