ddns-scripts: POST data for some providers
Package Name
ddns-scripts
Maintainer
(@chris5560)
OpenWrt Version
25.12.0
OpenWrt Target/Subtarget
generic
Steps to Reproduce
DNS provider API needs POST
Actual Behaviour
Some dns providers uses API which accepts only POST requests with content-type "application/json" or "application/xml". We needs a multiline editor "POST data", content-type can be detected startsWith "{" or "<" symbols, otherwise urlencoded form. Also all fields replacements need be do to that data too.
Confirmation Checklist
- [x] The package is maintained in this repository.
- [x] I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- [x] I am reporting an issue for OpenWrt, not an unsupported fork.
"some" are which exactly?
"some" are which exactly?
https://www.reg.ru/reseller/api2doc
zone/add_alias
You can take any json constructing code as an example.... https://github.com/openwrt/packages/blob/29e685e1f852a0f74afc9f22d07f739d01b098b1/net/ddns-scripts/files/usr/lib/ddns/update_pdns.sh#L32
I don't understand what needs to be done here. Is this a feature request or a bug report? Please provide more context