Page 1 of 1

How to upload file with file api data post

Posted: Thu Dec 28, 2023 4:59 am
by shrmaprem0202
Hello all wapka admin and all wapmasters is there anyone tell me how can i upload a file with api data like key1 and value1 in one click i mean when i click upload then file is uploaded and api data created automatically please anyone help 🙏

Re: How to upload file with file api data post

Posted: Sat Dec 30, 2023 2:03 am
by vikkas
Api data creator:

Code:

Code: Select all

{{VALUE(%notify%)@IFEQ(Success)@THEN@GOTO(/index)@ELSE@NULL}}<div align="center"><input type="hidden" name="simg" value="{{GET(simg)}}"/><img src="{{GET(simg)}}" style="width:100px;height:100px;"/></div><br/><div align="center"><input type="submit" value="Share Photo"/></div>
Config:

Code: Select all

<pid>14785</pid><value2>{{POST(simg)}}</value2><category>post</category><key1>{{VAR(uid)}}</key1>