• Request GET {{pathurl}}/wp-json/wp/v2/posts?order=desc&orderby=date 
    Response: 
    <html>
    <head>
    <title>502 Bad Gateway</title>
    </head>
    <body>    
    <center>        
    <h1>502 Bad Gateway</h1>    
    </center>    
    <hr>    
    <center>nginx/1.22.0 (Ubuntu)</center>
    </body>
    </html> 

    But if we use 
    GET {{pathurl}}/wp-json/wp/v2/posts?order=desc&orderby=modified 

    Response : we are getting success response for it. 

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter jackthejack

    (@jackthejack)

    The context of the issue: I am integrating Integrately with blog so an automation will be triggered whenever there is new blog post published.

Viewing 1 replies (of 1 total)

The topic ‘502 error when making GET call’ is closed to new replies.