DEV Community

Discussion on: Wordpress API request problem.

Collapse
karandpr profile image
Karan Gandhi

The docs pretty much mention stuff that you are doing.
developers.miniorange.com/docs/res...
Have you tried removing the space between Authorization and Basic ?

Authorization:Basic
Enter fullscreen mode Exit fullscreen mode

instead of

Authorization: Basic
Enter fullscreen mode Exit fullscreen mode
Collapse
bugmagnet profile image
Bruce Axtens Author

I do wish it was that simple but no, not the problem here. Interestingly, the last time (2018) I was working on this particular project (transferring content from one website to another WordPress website) I didn't have any of these issues. This time, however, because the live site is at the root of the domain and the dev site is in a subdirectory, I'm experiencing all kinds of grief.

Collapse
karandpr profile image
Karan Gandhi

Does litespeed log failed requests ?

Also if you have root access to server and tcpdump installed, intercept the post request and check if it is working.
middlewareinventory.com/blog/tcpdu...

Thread Thread
bugmagnet profile image
Bruce Axtens Author

achcha kheal, sahib ji. koshish karunga.

Thread Thread
karandpr profile image
Karan Gandhi

zaroor kijiye mahashay. aur koi dikkat ho toh banda aapki khidmat mein rehenga.,