REST API Response: (400) Bad Request
-
I am getting Rest API ERROR:
REST API Endpoint: mydomain.com/wp-json/wp/v2/types/post?context=edit
REST API Response: (400) Bad RequestTried every solution like:
- Check Permalinks Settings: OK
- Inspect
.htaccessConfiguration: Not Corrupted - Verify Subdomain Configuration: No Issue
- Check REST API Endpoint: ON Trying this [https://[yourdomain].com/wp-json/] I get this
- {“name”:”your domain name”,”description”:”Sunglasses & Prescription Eyewear”,”url”:”https:\/\/Mydomain.in”,”home”:”https:\/\/Mydomain.in”,”gmt_offset”:”5.5″,”timezone_string”:””,”namespaces”:[“oembed\/1.0″,”contact-form-7\/v1″,”1cc\/v1\/coupon”,”1cc\/v1\/order”,”1cc\/v1\/shipping”,”1cc\/v1″,”1cc\/v1\/cart”,”1cc\/v1\/giftcard”,”1cc\/v1\/cod\/order”,”wc\/v3″,”wordfence\/v1″,”yoast\/v1″,”jetpack\/v4″,”elementor\/v1″,”wc-admin”,”wc-analytics”,”wc\/store”,”wc\/store\/v1″,”wc\/private”,”yith\/wishlist\/v1″,”wc\/v2″,”google-site-kit\/v1″,”elementor\/v1\/documents”,”elementor-ai\/v1″,”elementor-pro\/v1″,”wc\/v1″,”wc-admin-email”,”wc-telemetry”,”wccom-site\/v3″,”wp\/v2″,”wp-site-health\/v1″,”wp-block-editor\/v1″],”authentication”:[],”routes”:{“\/”:{“namespace”:””,”methods”:[“GET”],”endpoints”:[{“methods”:[“GET”],”args”:{“context”:{“default”:”view”,”required”:false}}}],”_links”:{“self”:[{“href”:”https:\/\/Mydomain.in\/wp-json\/”}]}},”\/batch\/v1″:
Please help to resolve this issue
Thanks in advance.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
The topic ‘REST API Response: (400) Bad Request’ is closed to new replies.