• Resolved sebe66

    (@sebe66)


    I think you should stop using parameters and instead use request body, some antivirus can block your request when they see something that seem to be a password parameter (bitdefender in my case)
    So in an app you’d end up with an EOF

    Except for this small issue, you done a great job mate ! ??

    • This topic was modified 4 years, 4 months ago by sebe66.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author dominic_ks

    (@dominic_ks)

    Hey @sebe66,

    Thanks for the comments, which params are you talking about here? All of the data sent with these requests can be added to the body of the relevant post request. Perhaps that’s not clear in the description but the examples show adding them to the body of jQuery Ajax post requests!

    Cheers,
    Dominic,

    Thread Starter sebe66

    (@sebe66)

    My bad, the ” — Parameters (all required):” made me think it was using parameters in the technical meaning (url parameters)

    As for the jQuery, I did read the code first to check if it was safe to use meanwhile I forgot there was jQuery examples ??

    Contrary to what I though, since I don’t have this problem with my endpoint using a new and an old password, but it seems that bitdefender won’t let me put the pass with the email in the same place if it’s to an http website (dev env), so I guess I’ll have to rename it temporary something like “new” ??

    PS:
    I learnt to make wp api on my own and it seems that depending on how you made the endpoint you can get the body without having to parse it
    Currently I’m forced to use this to get the body:

    $args;
    $body = $request->get_body();
    parse_str($body, $args);

    So I’ll probably have to look into it when I’ll clean my code

    So thanks again ??

    Plugin Author dominic_ks

    (@dominic_ks)

    Yeah I might update that text just so it’s super clear that it’s to go in the POST body.

    Are we all good here then or do you need anything else?

    Cheers,
    Dominic,

    Thread Starter sebe66

    (@sebe66)

    We’re all good

    Have a good day ??

    Plugin Author dominic_ks

    (@dominic_ks)

    Cool! If you are finding the plugin useful and wouldn’t mind leaving a review that’d be much appreciated!

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘403 blocked by antivirus’ is closed to new replies.