Closed arsalan8 closed 5 years ago
Hi there @arsalan8 , Thanks for the detailed report. There appears to be a testimonials plugin which is adding additional unexpected output to your api response. Typically a REST api server would only respond with the JSON you see at the end of this response, but there is some HTML mixed in here. Try disabling whatever plugin is adding the CSS to this page and see if that fixes it, then contact the developers of the plugin to let them know about this bug where it is injecting style tags into API responses.
Another possibility is that it is your theme which is doing this, so as a debugging step, you could try switching to one of the default themes (e.g. twentyseventeen) .
Thanks.
Anyone here can help me out with woocommerce REST API for Python? I just need to pull data from woocommerce website but its showing error. The code is
What Iam getting back in shell is as under.
I tried using print(r.text())) and that gives non json which is as under
Please provide a solution to the problem. Thanks in advance.