Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I want to use wordpress rest api. but I couldn't find any tutorial resources. Is there anyone who can help with this? at least write a script that can log in using the rest api and do a few simple actions?
@zzinan vsddsffgsdew<gsdxg
I also did not find for the rest API of wordpress, but by asking CHatGPT it was able to get me the right commands directly;)
@musterman hello my friend. May I know what you are asking? I couldn't find out
Exemple: "I want to publish an article with the Worpdress rest API, give me the HTTP request for do it"
when we ask in this way, my friend answers with languages like csharp. If I had coding knowledge, I wouldn't use bas :)
I'm looking for a friend who can produce a simple paid or free script.
@nirvanius what function. I've tired global variable can't seem to get it to work right. The script freezes up when it get to the action
@basmail said in HTTP requests with javascript/npm:
@Fox said in HTTP requests with javascript/npm: Use node js Yes I got that, but how is it done in node.js with this complex structure? There is not even a log when something fails...
@Fox said in HTTP requests with javascript/npm:
Use node js
Yes I got that, but how is it done in node.js with this complex structure? There is not even a log when something fails...
Have you tried searching the forum for topics where users discussed sending requests from node js?
@asivrsr1 check their api endpoints (they should have a documentation) and then use http client to make a wrapper for their api.