[AccessD] A2003: POST a set of params to a Web Resource

Stuart McLachlan stuart at lexacorp.com.pg
Wed Jul 10 16:53:22 CDT 2019


SHELL with that string and let cURL do it?

I'll dig out some actual POST code a bit later.

On 10 Jul 2019 at 23:04, Darren - Active Billing wrote:

> Howdy all,
> 
> 
> 
> How would I get the following string to be POSTed to a web site using
> VBA?
> 
> 
> 
> This is the final and formatted string that works when sending the
> CURL request via a Terminal session
> 
> 
> 
> curl -XPOST -H "Content-type: application/json" -d '{"text": "This is
> the Task Name for Task No: 4","description": "This is the Description
> for Task No: 4","dueDate": "2019-10-07"}'
> 'https://hooks.workast.app/1234567890
> 
> 
> 
> I tried to modify some code I got from Stuart (ages ago) but no
> success. I have no clue ...that´s why 
> 
> 
> 
> FYI: Workast is a site that allows for the addition of tasks for staff
> to review - Simple enough but can´t get the POSTing bit from
> Access to work
> 
> 
> 
> Many thanks in advance
> 
> 
> 
> Darren
> 
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com





More information about the AccessD mailing list