kennym / cf7-to-api

LOOKING FOR MAINTAINER. Wordpress plugin to transmit contact form 7 entries to remote API using POST or GET
https://wordpress.org/plugins/cf7-to-api-basic-auth/
52 stars 30 forks source link

Hardcoded parameters in Called URL & Auth #53

Open fred-gb opened 2 years ago

fred-gb commented 2 years ago

Hi, Thanks for this plugin.

I would like to use it with Jenkins.

Something I misunderstood.

URL to job: JENKINS_URL/job/JOB_NAME/buildWithParameters?token=xxx&PARAMETERS=value&PARAMETERS=value&PARAMETERS=value

I need to put token for job (not for user authentification).

With this plugins I don't know how how to do that, because when I put token in base_url, others parameters appear like ?PARAMETERS=value and not &PARAMETERS=value and URL is wrong.

To avoid I need to put token in public form, not very good solution.

What is solution to let increment others parameters ?

And second problem for auth.

I need to put user:token in base_url instead of specific field basic auth.

When I put in basic auth field, not working.

Thanks!