TagUI
TagUI copied to clipboard
post Content-Type
api post set Content-Type: application/x-www-form-urlencoded is invalid just application/json?
check https://github.com/aisingapore/TagUI/issues/967
检查 #967
thanks. my format is correct。 header:['Content-Type: application/x-www-form-urlencoded'] but it is invalid。 I use an online post tool to test is ok. Tagui Unable to get the correct result
can you share more details ?
can you share more details ?
ok just Tomorrow. I find it thanks
api_config = {method:'POST', header:['Accept: application/json','Content-Type: application/x-www-form-urlencoded'], body:{'TB':'003'}};
api some URL
echo api_result
‘Content-Type’ is useless。The website can be accessed,but the result is error i think it's post Content-Type just 'application/json'
api_config = {method:'POST', header:['Content-type: application/x-www-form-urlencoded'], body:'orem=ipsum&name=binny'};
api https://webhook.site/your_id_here
echo `api_result`
api_config = {method:'POST', header:['Content-type: application/x-www-form-urlencoded'], body:'orem=ipsum&name=binny'}; api https://webhook.site/your_id_here echo `api_result`
great!!!!! thank you!