php - How to send/receive image in wordpress web services -


i wrote web services wordpress login, register, pass update, etc...

now want user can upload images ios device , send via web services(query string). not sure how this.

for login create query string http://example.com/apps/login.php?user=something&pass=something , data in php file , update wordpress db , return success message in json_encode.

but images, how can create query string , how can images in php file.

thanks in advance...

but images, how can create query string

you do not! it's not place that. if need data uploaded, right way using http post request data payload.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -