[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executing a url



   Hi Bill,
   I guess it depends on what you mean by "execute", but...  the default
   HTTP method (the method that occurs when you type a URL into the
   address line of your web browser) is an HTTP GET request.
   So, with HTTPAPI you could do:
   HTTPAPI URL('[1]http://your-url-here')
   DOWNLOAD('/ifs/path/to/response.data')
   Or from an RPG program, you could do something like
   http_get('[2]http://example': '/ifs/path');
   Does that help?

   On 12/4/2012 12:40 PM, [3]bworley@xxxxxxxxx wrote:

   I have just downloaded and installed HTTPAPI.  I want to call a url
   that was prepared by our C# programmer that will send
   credit card data to authorize.net.  I can't use STRPCO and STRPCCMD
   since we want this to happen in batch mode.
   Which one of the example programs could I use to just execute a url?
   If this can be done, can it
   be done as a submitted job through our job scheduler?
   Thanks,
   Bill Worley


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
[4]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

References

   1. http://your-url-here/
   2. http://example/
   3. mailto:bworley@xxxxxxxxx
   4. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------