• Resolved shubhamsachdeva

    (@shubhamsachdeva)


    I have created a secret API and after pasting the API into input box, api is responding with “

    (failed)

    net::ERR_EMPTY_RESPONSE”

    I have tried updating the permalinks and checked wp-config.php and .ht-access file as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    What is a SECRET API? You mean the Settings are not working at all, maybe?

    Are you sure your issue isn’t linked to the REST API? More info here: https://meowapps.com/fix-wordpress-rest-api/

    Thread Starter shubhamsachdeva

    (@shubhamsachdeva)

    Sorry, Secret Api means secret key that we get from ai account.

    Yes, Settings are not working at all.

    I have already gone through the above link as this link was in the support forum and have checked the following:

    1. Mysiteurl/wp-json -> I am able to see json content.
    2. Permalinks -> postname was already selected still have I saved again on post to reset permalinks.
    3. Disabled security and cache plugin -> disabled all the security and cache plugin.
    4. Code check -> not able to find anything like add_filter(‘rest_enabled’, ‘_return_false’); add_filter(‘rest_jsonp_enabled’, ‘_return_false’);
    5. Rest api is sending data -> I can see that in preview but gives an error message ‘ERR_Empty_response’
    6. .htaccess file -> does not contain anything related to security policy.

    looking forward to have in resolving this query. Please let me know if I have missed something.

    Thread Starter shubhamsachdeva

    (@shubhamsachdeva)

    /index.php?rest_route=/ai-engine/v1/update_option
    This is the api I am getting error message.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Not saving secret api’ is closed to new replies.