The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

opnpost - A OPN User agent that post stuf

VERSION

version 0.003

SYNOPSIS

opnpost opnjson opnsoap OPTIONS

DESCRIPTION

opnpost is a generic useragent that posts data to a particual endpoint. It is basicly wget or curl, but only for POSTING data. opnsoap is a client for posting SOAP and opnjson is a client for posting JSON

NAME

opnpost opnjson opnsoap - A OPN UA poster boy object

OPTIONS

endpoint

The end point you want to talk to. Required

content_type

Required when using opnua.

Defaults to application/json; charset=UTF-8 for opnjson. Defaults to application/xml; charset=UTF-8 for opnsoap.

content

Path to content file

k

Disable SSL checks

v

Verbose mode

timeout

Defaults to 60 seconds

ca

CA certificate file

ca-path

CA certificate path, defaults to /etc/ssl/certs

cc

Client certifcate file, requires both secret and public key to be present.

X

Set the request type, defaults to POST

soap-action

The soap action

wrap-soap

Wrap the message in a soap envelop

soap-version

The SOAP version used by wrap-soap

AUTHOR

Wesley Schwengle

LICENSE and COPYRIGHT

This code is placed in the public domain.

Wesley Schwengle, 2017

AUTHOR

Wesley Schwengle <waterkip@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2024 by Wesley Schwengle.

This is free software, licensed under:

  The (three-clause) BSD License