How to upload file with file api data post
-
- Posts: 38
- Joined: Tue Mar 07, 2023 7:13 pm
- Contact:
How to upload file with file api data post
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
Api data creator:
Code:
Config:
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>
Code: Select all
<pid>14785</pid><value2>{{POST(simg)}}</value2><category>post</category><key1>{{VAR(uid)}}</key1>