upload to hamQTH via API script fails

3 posts / 0 new
Last post
dj4qv
upload to hamQTH via API script fails

Good evening,
I tried to upload my adif to hamqth via script proposed by Petr (https://www.hamqth.com/developers.php#log_upload) after closing cqrlog on a fresh install on lubuntu 18.4.
What I am receiving ist

301 Moved Permanently

Moved Permanently
The document has moved here.

Apache/2.4.18 (Ubuntu) Server at hamqth.com Port 443

Anyone with an idea what I am missing? Script worked from my old computer.

Thanks in advance, 73
Wolfgang

oh1kh
upload to hamQTH via API script fails

Hi Wolfgang!

Can you upload your file manually? Go https://www.hamqth.com/prg_log_upload.php and try with your browser.
If it works manually you have to clear out what "curl" line does different in script.
If it does not work manually then script can not work, either.

--
Saku
OH1KH

dj4qv
Solved: upload to hamQTH via API script fails

Thank you Saku,
yes, it works manually. And with your help I figured out the difference! In the script posted by Petr the www. in the link was missing! Now everything works as expected and is easing things up. Thanks for your kind help!

73,
Wolfgang

--
Wolfgang
DJ4QV