Jump to content

is it right string escaped?


Recommended Posts

 Im making requests to REST API WORDPRESS

is it right code ?

$metabox = 'meta_box={"uuid":" ' & urlEncode($MY_ID) & ' "}'
 _httpRequest("https://MYSITE/wp-json/wp/v2/users/" & $id &"?", "POST", $metabox,$success)

In postman im making request like this and its working. it should be the same in autoit

https://MYSITE/wp-json/wp/v2/users/8?meta_box={"uuid": "2342342342"}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...